Handbook
Glossary
useless-branch? ( bb successor -- ? )
Vocabulary
compiler
.
codegen
Inputs
bb
a
basic-block
successor
The successor block of bb
Outputs
?
A boolean value
Word description
If successor immediately follows bb in the linearization order, then a branch is is not needed.
Definition
USING:
accessors
kernel
math
;
IN:
compiler.codegen
:
useless-branch?
( bb successor -- ? )
[
number>>
]
bi@
1
-
=
;
inline