with-small-register ( dst exclude size quot: ( new-dst -- ) -- )


Vocabulary
cpu.x86

Inputs
dstan object
excludean object
sizean object
quota quotation with stack effect ( new-dst -- )


Outputs
None

Definition


:: with-small-register
( dst exclude size quot: ( new-dst -- ) -- )
dst size has-small-reg?
[ dst quot call ] [
exclude small-reg-that-isn't
[ quot call ] with-save/restore
] if ; inline