org.jikesrvm.compilers.opt.ir.operand
Class InlinedOsrTypeInfoOperand

java.lang.Object
  extended by org.jikesrvm.compilers.opt.ir.operand.Operand
      extended by org.jikesrvm.compilers.opt.ir.operand.InlinedOsrTypeInfoOperand

public final class InlinedOsrTypeInfoOperand
extends Operand

An InlinedOsrTypeInfoOperand object keeps necessary information to recover non-inlined status for an inlined method.


Field Summary
 int[] bcindexes
           
 byte[][] localTypeCodes
           
 int[] methodids
           
 byte[][] stackTypeCodes
           
 int validOps
           
 
Fields inherited from class org.jikesrvm.compilers.opt.ir.operand.Operand
instruction
 
Constructor Summary
InlinedOsrTypeInfoOperand(int[] mids, int[] cpcs, byte[][] ltypes, byte[][] stypes)
           
 
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()
          Returns the string representation of this operand.
 
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

methodids

public int[] methodids

bcindexes

public int[] bcindexes

localTypeCodes

public byte[][] localTypeCodes

stackTypeCodes

public byte[][] stackTypeCodes

validOps

public int validOps
Constructor Detail

InlinedOsrTypeInfoOperand

public InlinedOsrTypeInfoOperand(int[] mids,
                                 int[] cpcs,
                                 byte[][] ltypes,
                                 byte[][] stypes)
Method Detail

copy

public Operand copy()
Description copied from class: Operand
Return a new operand that is semantically equivalent to this.

Specified by:
copy in class Operand
Returns:
a copy of this

similar

public boolean similar(Operand op)
Description copied from class: Operand
Are two operands semantically equivalent?

Specified by:
similar in class Operand
Parameters:
op - other operand
Returns:
true if this and op are semantically equivalent or false if they are not.

toString

public String toString()
Returns the string representation of this operand.

Overrides:
toString in class Object
Returns:
a string representation of this operand.