Vocabularycompiler.
cfg.
stacks.
clearingInputsstate | a stack state |
insn | an insn |
OutputsWord descriptionChecks if the instruction is dangerous, meaning that the holes in the stack must be filled before it is executed.
ExamplesUSING: compiler.cfg.instructions compiler.cfg.registers compiler.cfg.stacks.clearing prettyprint ;
{ { 0 { } } { 0 { } } } T{ ##peek { loc D: 0 } } dangerous-insn? .
t
USING: compiler.cfg.instructions compiler.cfg.registers compiler.cfg.stacks.clearing prettyprint ;
{ { 0 { } } { 2 { } } } T{ ##peek { loc R: 0 } } dangerous-insn? .
f
USING: compiler.cfg.instructions compiler.cfg.registers compiler.cfg.stacks.clearing prettyprint ;
{ { 0 { } } { 3 { } } } T{ ##call-gc } dangerous-insn? .
t
Definition