|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ssa.SSAInstruction
com.ibm.wala.ssa.SSANewInstruction
public class SSANewInstruction
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction |
|---|
SSAInstruction.IVisitor, SSAInstruction.Visitor |
| Constructor Summary | |
|---|---|
SSANewInstruction(int result,
NewSiteReference site)
Create a new instruction to allocate a scalar. |
|
SSANewInstruction(int result,
NewSiteReference site,
int[] params)
Create a new instruction to allocate an array. |
|
| Method Summary | |
|---|---|
SSAInstruction |
copyForSSA(int[] defs,
int[] uses)
This method is meant to be used during SSA conversion for an IR that is not in SSA form. |
TypeReference |
getConcreteType()
|
int |
getDef()
|
int |
getDef(int i)
|
java.util.Collection<TypeReference> |
getExceptionTypes()
|
NewSiteReference |
getNewSite()
|
int |
getNumberOfDefs()
|
int |
getNumberOfUses()
Method getNumberOfUses. |
int |
getUse(int j)
Method getUse. |
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()
PEI == "Potentially excepting instruction" |
java.lang.String |
toString(SymbolTable symbolTable,
ValueDecorator d)
Method toString. |
void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction. |
| Methods inherited from class com.ibm.wala.ssa.SSAInstruction |
|---|
equals, getValueString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SSANewInstruction(int result,
NewSiteReference site)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public SSANewInstruction(int result,
NewSiteReference site,
int[] params)
java.lang.IllegalArgumentException - if site is null
java.lang.IllegalArgumentException - if params is null| Method Detail |
|---|
public SSAInstruction copyForSSA(int[] defs,
int[] uses)
SSAInstruction
copyForSSA in class SSAInstructionSSAConversion
public java.lang.String toString(SymbolTable symbolTable,
ValueDecorator d)
SSAInstruction
toString in class SSAInstructionpublic void visit(SSAInstruction.IVisitor v)
SSAInstruction
visit in class SSAInstructionjava.lang.IllegalArgumentException - if v is nullSSAInstruction.visit(IVisitor)public boolean hasDef()
SSAInstruction
hasDef in class SSAInstructionSSAInstruction.getDef()public int getDef()
getDef in class SSAInstructionpublic int getDef(int i)
getDef in class SSAInstructionpublic int getNumberOfDefs()
getNumberOfDefs in class SSAInstructionpublic TypeReference getConcreteType()
public NewSiteReference getNewSite()
public int hashCode()
hashCode in class SSAInstructionpublic int getNumberOfUses()
SSAInstruction
getNumberOfUses in class SSAInstructionpublic int getUse(int j)
SSAInstruction
getUse in class SSAInstructionpublic boolean isPEI()
IInstruction
isPEI in interface IInstructionisPEI in class SSAInstructionpublic boolean isFallThrough()
isFallThrough in class SSAInstructionpublic java.util.Collection<TypeReference> getExceptionTypes()
getExceptionTypes in class SSAInstruction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||