|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.ir.operand.Operand org.jikesrvm.compilers.opt.bc2ir.ReturnAddressOperand
public final class ReturnAddressOperand
ReturnAddress operand. Used to represent the address pushed on the expression stack by a JSR instruction.
Field Summary | |
---|---|
(package private) int |
retIndex
|
Fields inherited from class org.jikesrvm.compilers.opt.ir.operand.Operand |
---|
instruction |
Constructor Summary | |
---|---|
ReturnAddressOperand(int ri)
|
Method Summary | |
---|---|
Operand |
copy()
Return a new operand that is semantically equivalent to this . |
boolean |
similar(Operand op)
Are two operands semantically equivalent? |
String |
toString()
|
Methods inherited from class org.jikesrvm.compilers.opt.ir.operand.Operand |
---|
asAddressConstant, asBlock, asBranch, asClassConstant, asCondition, asDoubleConstant, asFloatConstant, asIntConstant, asLocation, asLongConstant, asMemory, asMethod, asNullConstant, asObjectConstant, asRegister, asStackLocation, asStringConstant, asTIBConstant, asType, conservativelyApproximates, getIndexInInstruction, getType, isAddress, isAddressConstant, isBlock, isBranch, isClassConstant, isConstant, isDefinitelyNull, isDouble, isDoubleConstant, isFloat, isFloatConstant, isInt, isIntConstant, isIntLike, isLocation, isLong, isLongConstant, isMemory, isMethod, isMovableObjectConstant, isNullConstant, isObjectConstant, isRef, isRegister, isStackLocation, isStringConstant, isTIBConstant, isTrueGuard, isType, meet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
final int retIndex
Constructor Detail |
---|
ReturnAddressOperand(int ri)
Method Detail |
---|
public Operand copy()
Operand
this
.
copy
in class Operand
this
public boolean similar(Operand op)
Operand
similar
in class Operand
op
- other operand
true
if this
and op
are semantically equivalent or false
if they are not.public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |