public abstract class SSAArrayLengthInstruction extends SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
iindex, NO_INDEX
Modifier | Constructor and Description |
---|---|
protected |
SSAArrayLengthInstruction(int iindex,
int result,
int arrayref) |
Modifier and Type | Method and Description |
---|---|
SSAInstruction |
copyForSSA(SSAInstructionFactory insts,
int[] defs,
int[] uses)
This method is meant to be used during SSA conversion for an IR that is not in SSA form.
|
int |
getArrayRef() |
int |
getDef() |
int |
getDef(int i)
Return the ith def
|
int |
getNumberOfDefs() |
int |
getNumberOfUses() |
int |
getUse(int j) |
boolean |
hasDef()
Does this instruction define a normal value, as distinct from a set of exceptions possibly thrown by it (e.g.
|
int |
hashCode() |
boolean |
isFallThrough() |
boolean |
isPEI() |
String |
toString(SymbolTable symbolTable) |
void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction.
|
equals, getExceptionTypes, getValueString, toString
protected SSAArrayLengthInstruction(int iindex, int result, int arrayref)
public SSAInstruction copyForSSA(SSAInstructionFactory insts, int[] defs, int[] uses) throws IllegalArgumentException
SSAInstruction
copyForSSA
in class SSAInstruction
IllegalArgumentException
public String toString(SymbolTable symbolTable)
toString
in class SSAInstruction
public void visit(SSAInstruction.IVisitor v) throws NullPointerException
SSAInstruction
visit
in class SSAInstruction
NullPointerException
SSAInstruction.visit(IVisitor)
public int getDef()
getDef
in class SSAInstruction
SSAInstruction.getDef()
public boolean hasDef()
SSAInstruction
hasDef
in class SSAInstruction
public int getDef(int i)
SSAInstruction
getDef
in class SSAInstruction
i
- number of the def, starting at 0.public int getNumberOfDefs()
getNumberOfDefs
in class SSAInstruction
public int getArrayRef()
public int getNumberOfUses()
getNumberOfUses
in class SSAInstruction
SSAInstruction.getNumberOfUses()
public int getUse(int j)
getUse
in class SSAInstruction
SSAInstruction.getUse(int)
public int hashCode()
hashCode
in class SSAInstruction
public boolean isPEI()
isPEI
in class SSAInstruction
public boolean isFallThrough()
isFallThrough
in class SSAInstruction