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


Vocabulary
cpu.x86

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


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