Handbook
Glossary
local-kill-set ( ds-begin ds-inc rs-begin rs-inc -- set )
Vocabulary
compiler
.
cfg
.
stacks
.
local
Inputs
ds-begin
an
integer
ds-inc
an
integer
rs-begin
an
integer
rs-inc
an
integer
Outputs
set
a
hash-set
Word description
The set of stack locations that was killed. Locations on a stack are deemed killed if that stacks height is decremented.
See also
compute-local-kill-set
Definition
USING:
compiler.cfg.registers
hash-sets
kernel
sequences
;
IN:
compiler.cfg.stacks.local
:
local-kill-set
( ds-begin ds-inc rs-begin rs-inc -- set )
[
kill-locations
]
2bi@
[
[
<ds-loc>
]
map
]
[
[
<rs-loc>
]
map
]
bi*
append
>hash-set
;