Handbook
Glossary
allocation-size* ( insn -- n )
Vocabulary
compiler
.
cfg
.
gc-checks
.
private
Inputs
insn
an
insn
Outputs
n
a
number
Word description
Number of bytes allocated by the given instruction.
Definition
IN:
compiler.cfg.gc-checks.private
GENERIC:
allocation-size*
( insn -- n )
Methods
USING:
accessors
compiler.cfg.gc-checks.private
compiler.cfg.instructions
;
M:
##allot
allocation-size*
size>>
;
USING:
compiler.cfg.gc-checks.private
compiler.cfg.instructions
kernel
layouts
;
M:
##box-alien
allocation-size*
drop
5
cells
;
USING:
compiler.cfg.gc-checks.private
compiler.cfg.instructions
kernel
layouts
;
M:
##box-displaced-alien
allocation-size*
drop
5
cells
;