public abstract class IfStmt extends JumpStmt
IfCmpStmt,
IfZeroStmt| Modifier and Type | Field and Description |
|---|---|
static int |
EQ |
static int |
GE |
static int |
GT |
static int |
LE |
static int |
LT |
static int |
NE |
| Constructor and Description |
|---|
IfStmt(int comparison,
Block trueTarget,
Block falseTarget)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
comparison() |
Block |
falseTarget() |
void |
negate()
Set the comparison operator for this if statement to its logical
negative.
|
void |
setFalseTarget(Block target) |
void |
setTrueTarget(Block target) |
Block |
trueTarget() |
catchTargets, copyIntocleanupOnly, cloneblock, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnlypublic static final int EQ
public static final int NE
public static final int GT
public static final int GE
public static final int LT
public static final int LE
public int comparison()
public void negate()
public void setTrueTarget(Block target)
public void setFalseTarget(Block target)
public Block trueTarget()
public Block falseTarget()