public abstract class SSAArrayLengthInstruction extends SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitoriindex, 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, toStringprotected SSAArrayLengthInstruction(int iindex,
int result,
int arrayref)
public SSAInstruction copyForSSA(SSAInstructionFactory insts, int[] defs, int[] uses) throws IllegalArgumentException
SSAInstructioncopyForSSA in class SSAInstructionIllegalArgumentExceptionpublic String toString(SymbolTable symbolTable)
toString in class SSAInstructionpublic void visit(SSAInstruction.IVisitor v) throws NullPointerException
SSAInstructionvisit in class SSAInstructionNullPointerExceptionSSAInstruction.visit(IVisitor)public int getDef()
getDef in class SSAInstructionSSAInstruction.getDef()public boolean hasDef()
SSAInstructionhasDef in class SSAInstructionpublic int getDef(int i)
SSAInstructiongetDef in class SSAInstructioni - number of the def, starting at 0.public int getNumberOfDefs()
getNumberOfDefs in class SSAInstructionpublic int getArrayRef()
public int getNumberOfUses()
getNumberOfUses in class SSAInstructionSSAInstruction.getNumberOfUses()public int getUse(int j)
getUse in class SSAInstructionSSAInstruction.getUse(int)public int hashCode()
hashCode in class SSAInstructionpublic boolean isPEI()
isPEI in class SSAInstructionpublic boolean isFallThrough()
isFallThrough in class SSAInstructionCopyright © 2015. All rights reserved.