Handbook
Glossary
delete-useless-conditionals ( cfg -- )
Vocabulary
compiler
.
cfg
.
useless-conditionals
Inputs
cfg
an
object
Outputs
None
Definition
USING:
compiler.cfg
compiler.cfg.rpo
kernel
;
IN:
compiler.cfg.useless-conditionals
:
delete-useless-conditionals
( cfg -- )
[
[
dup
delete-conditional?
[
delete-conditional
]
[
drop
]
if
]
each-basic-block
]
[
cfg-changed
]
[
predecessors-changed
]
tri
;