public class SSAGetCaughtExceptionInstruction extends SSAInstruction
IR
s, these instructions do not appear in the normal instruction array returned by IR.getInstructions();
instead these instructions live in ISSABasicBlock
.SSAInstruction.IVisitor, SSAInstruction.Visitor
iindex, NO_INDEX
Constructor and Description |
---|
SSAGetCaughtExceptionInstruction(int iindex,
int bbNumber,
int exceptionValueNumber) |
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 |
getBasicBlockNumber() |
int |
getDef() |
int |
getDef(int i)
Return the ith def
|
int |
getException()
Returns the result.
|
int |
getNumberOfDefs() |
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.
|
equals, getExceptionTypes, getNumberOfUses, getUse, getValueString, isPEI, toString
public SSAGetCaughtExceptionInstruction(int iindex, int bbNumber, int exceptionValueNumber)
public SSAInstruction copyForSSA(SSAInstructionFactory insts, int[] defs, int[] uses)
SSAInstruction
copyForSSA
in class SSAInstruction
public String toString(SymbolTable symbolTable)
toString
in class SSAInstruction
public void visit(SSAInstruction.IVisitor v)
SSAInstruction
visit
in class SSAInstruction
IllegalArgumentException
- if v is nullSSAInstruction.visit(IVisitor)
public int getException()
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 getNumberOfDefs()
getNumberOfDefs
in class SSAInstruction
public int getBasicBlockNumber()
public int hashCode()
hashCode
in class SSAInstruction
public boolean isFallThrough()
isFallThrough
in class SSAInstruction