public abstract class SSAMonitorInstruction extends SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
iindex, NO_INDEX
Modifier | Constructor and Description |
---|---|
protected |
SSAMonitorInstruction(int iindex,
int ref,
boolean isEnter) |
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 |
getNumberOfUses() |
int |
getRef() |
int |
getUse(int j) |
int |
hashCode() |
boolean |
isFallThrough() |
boolean |
isMonitorEnter()
Does this instruction represent a monitorenter?
|
boolean |
isPEI() |
String |
toString(SymbolTable symbolTable) |
void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction.
|
equals, getDef, getDef, getExceptionTypes, getNumberOfDefs, getValueString, hasDef, toString
protected SSAMonitorInstruction(int iindex, int ref, boolean isEnter)
ref
- The value number of the object being locked or unlockedisEnter
- Does this instruction represent a monitorenter?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 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
public int getRef()
public boolean isMonitorEnter()