public class ConditionalTarget extends Target
| Modifier and Type | Field and Description |
|---|---|
Label |
ifFalse |
Label |
ifTrue |
static Method |
isTrueMethod |
boolean |
trueBranchComesFirst
True if the ifTrue label comes before the ifFalse label.
|
Ignore, pushObject | Constructor and Description |
|---|
ConditionalTarget (Label ifTrue,
Label ifFalse,
Language language) |
| Modifier and Type | Method and Description |
|---|---|
void |
compileFromStack (Compilation comp,
Type stackType) |
void |
emitGotoFirstBranch (CodeAttr code)
Goto whichever of IfTrue or ifFalse is specified by trueBranchComesFirst.
|
Type |
getType () |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Label ifTrue
public Label ifFalse
public static final Method isTrueMethod
public boolean trueBranchComesFirst
public void compileFromStack(Compilation comp, Type stackType)
compileFromStack in class Target public final void emitGotoFirstBranch(CodeAttr code)