Class AstConsumeInstruction
java.lang.Object
com.ibm.wala.ssa.SSAInstruction
com.ibm.wala.cast.ir.ssa.AstConsumeInstruction
- Direct Known Subclasses:
AstEchoInstruction
,AstYieldInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
-
Field Summary
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
NO_INDEX
-
Constructor Summary
-
Method Summary
Methods inherited from class com.ibm.wala.ssa.SSAInstruction
copyForSSA, equals, getDef, getValueString, hasDef, iIndex, isPEI, setInstructionIndex, toString, toString, visit
-
Field Details
-
rvals
protected final int[] rvals
-
-
Constructor Details
-
AstConsumeInstruction
public AstConsumeInstruction(int iindex, int[] rvals)
-
-
Method Details
-
getNumberOfDefs
public int getNumberOfDefs()- Overrides:
getNumberOfDefs
in classSSAInstruction
-
getDef
public int getDef(int i) Description copied from class:SSAInstruction
Return the ith def- Overrides:
getDef
in classSSAInstruction
- Parameters:
i
- number of the def, starting at 0.
-
getNumberOfUses
public int getNumberOfUses()- Overrides:
getNumberOfUses
in classSSAInstruction
-
getUse
public int getUse(int i) - Overrides:
getUse
in classSSAInstruction
- Returns:
- value number representing the jth use in this instruction. -1 means TOP (i.e., the value doesn't matter)
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSSAInstruction
-
isFallThrough
public boolean isFallThrough()- Specified by:
isFallThrough
in classSSAInstruction
- Returns:
- true iff this instruction may fall through to the next
-
getExceptionTypes
Description copied from class:SSAInstruction
This method should never return null.- Overrides:
getExceptionTypes
in classSSAInstruction
- Returns:
- the set of exception types that an instruction might throw ... disregarding athrows and invokes.
-