Handbook
Glossary
finalize-stack-frame ( stack-frame -- stack-frame )
Vocabulary
compiler
.
cfg
.
build-stack-frame
Inputs
stack-frame
a
stack-frame
Outputs
stack-frame
a
stack-frame
Word description
Calculates and stores the
allot-area-base
,
spill-area-base
and
total-size
slots of a stack frame.
Definition
USING:
accessors
cpu.architecture
kernel
;
IN:
compiler.cfg.build-stack-frame
:
finalize-stack-frame
( stack-frame -- stack-frame )
dup
calculate-allot-area-base
>>allot-area-base
dup
calculate-spill-area-base
>>spill-area-base
dup
stack-frame-size
>>total-size
;