Handbook
Glossary
begin-local-analysis ( basic-block -- )
Local stack analysis
Prev:
replace-loc ( vreg loc -- )
Next:
end-local-analysis ( basic-block -- )
Vocabulary
compiler
.
cfg
.
stacks
.
local
Inputs
basic-block
a
basic-block
Outputs
None
Word description
Begins the local analysis of the block. The height slot of the block is initialized with the resulting height of the last block.
Definition
USING:
accessors
kernel
namespaces
;
IN:
compiler.cfg.stacks.local
:
begin-local-analysis
( basic-block -- )
height-state
[
clone
]
change
height-state
get
[
reset-incs
]
keep
>>height
drop
HS{
}
clone
local-peek-set
set
H{
}
clone
replaces
set
;