public final class TypeOperand extends Operand
Operand
,
RVMType
,
TypeReference
Modifier and Type | Field and Description |
---|---|
private RVMType |
type
A type
|
private TypeReference |
typeRef
The data type.
|
instruction
Modifier | Constructor and Description |
---|---|
|
TypeOperand(RVMType typ) |
private |
TypeOperand(RVMType t,
TypeReference tr) |
|
TypeOperand(TypeReference tr) |
Modifier and Type | Method and Description |
---|---|
Operand |
copy()
Return a new operand that is semantically equivalent to
this . |
TypeReference |
getType()
Return the
TypeReference of the value represented by the operand. |
TypeReference |
getTypeRef() |
RVMType |
getVMType() |
boolean |
similar(Operand op)
Are two operands semantically equivalent?
|
String |
toString()
Returns the string representation of this operand.
|
asAddressConstant, asBlock, asBranch, asClassConstant, asCondition, asDoubleConstant, asFloatConstant, asIntConstant, asLocation, asLongConstant, asMemory, asMethod, asNullConstant, asObjectConstant, asRegister, asStackLocation, asStringConstant, asTIBConstant, asType, conservativelyApproximates, getIndexInInstruction, 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
private final TypeReference typeRef
public TypeOperand(RVMType typ)
public TypeOperand(TypeReference tr)
private TypeOperand(RVMType t, TypeReference tr)
public TypeReference getType()
Operand
TypeReference
of the value represented by the operand.public TypeReference getTypeRef()
public Operand copy()
Operand
this
.public boolean similar(Operand op)
Operand