useless-branch? ( bb successor -- ? )


Vocabulary
compiler.codegen

Inputs
bba basic-block
successorThe 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