| java.lang.Object gnu.expr.Target gnu.expr.ConditionalTarget
ConditionalTarget | public class ConditionalTarget extends Target (Code) | | This is the Target of a boolean expression, in a conditional context.
If the expression evaluates to, transfer to the ifTrue label;
if false, tranfer to the ifFalse label.
|
trueBranchComesFirst | public boolean trueBranchComesFirst(Code) | | True if the ifTrue label comes before the ifFalse label.
This is used in the hope we can optimize away a branch followed by
its target.
|
ConditionalTarget | public ConditionalTarget(Label ifTrue, Label ifFalse, Language language)(Code) | | Parameters: ifTrue - label to jump to if this evaluates to true Parameters: ifFalse - label to jump to if true Parameters: language - specifies what values are true |
emitGotoFirstBranch | final public void emitGotoFirstBranch(CodeAttr code)(Code) | | Goto whichever of IfTrue or ifFalse is specified by trueBranchComesFirst.
Normally, the goto should get optimized away as a no-op.
|
|
|