public abstract class SSAConversionInstruction extends SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
iindex, NO_INDEX
Modifier | Constructor and Description |
---|---|
protected |
SSAConversionInstruction(int iindex,
int result,
int val,
TypeReference fromType,
TypeReference toType) |
Modifier and Type | Method and Description |
---|---|
int |
getDef() |
int |
getDef(int i)
Return the ith def
|
TypeReference |
getFromType() |
int |
getNumberOfDefs() |
int |
getNumberOfUses() |
TypeReference |
getToType() |
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() |
String |
toString(SymbolTable symbolTable) |
void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction.
|
copyForSSA, equals, getExceptionTypes, getValueString, isPEI, toString
protected SSAConversionInstruction(int iindex, int result, int val, TypeReference fromType, TypeReference toType)
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 boolean hasDef()
SSAInstruction
hasDef
in class SSAInstruction
SSAInstruction.getDef()
public int getDef()
getDef
in class SSAInstruction
public int getDef(int i)
SSAInstruction
getDef
in class SSAInstruction
i
- number of the def, starting at 0.public int getNumberOfUses()
getNumberOfUses
in class SSAInstruction
SSAInstruction.getNumberOfUses()
public int getNumberOfDefs()
getNumberOfDefs
in class SSAInstruction
public TypeReference getToType()
public TypeReference getFromType()
public int getUse(int j)
getUse
in class SSAInstruction
SSAInstruction.getUse(int)
public int hashCode()
hashCode
in class SSAInstruction
public boolean isFallThrough()
isFallThrough
in class SSAInstruction