Tree
Class CJUMP
java.lang.Object
Tree.Stm
Tree.CJUMP
- All Implemented Interfaces:
- Hospitable
public class CJUMP
- extends Stm
Implements a conditional jump.
Constructor Summary |
CJUMP(int rel,
Exp l,
Exp r,
Temp.Label t,
Temp.Label f)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
relop
public int relop
left
public Exp left
right
public Exp right
iftrue
public Temp.Label iftrue
iffalse
public Temp.Label iffalse
EQ
public static final int EQ
- See Also:
- Constant Field Values
NE
public static final int NE
- See Also:
- Constant Field Values
LT
public static final int LT
- See Also:
- Constant Field Values
GT
public static final int GT
- See Also:
- Constant Field Values
LE
public static final int LE
- See Also:
- Constant Field Values
GE
public static final int GE
- See Also:
- Constant Field Values
ULT
public static final int ULT
- See Also:
- Constant Field Values
ULE
public static final int ULE
- See Also:
- Constant Field Values
UGT
public static final int UGT
- See Also:
- Constant Field Values
UGE
public static final int UGE
- See Also:
- Constant Field Values
CJUMP
public CJUMP(int rel,
Exp l,
Exp r,
Temp.Label t,
Temp.Label f)
notRel
public static int notRel(int relop)
swapRel
public static int swapRel(int relop)
accept
public void accept(IntVisitor v,
int d)
- Specified by:
accept
in interface Hospitable
- Specified by:
accept
in class Stm