Class MultiReturnValueInvokeInstruction
java.lang.Object
com.ibm.wala.ssa.SSAInstruction
com.ibm.wala.ssa.SSAAbstractInvokeInstruction
com.ibm.wala.cast.ir.ssa.MultiReturnValueInvokeInstruction
- Direct Known Subclasses:
FixedParametersInvokeInstruction
,JavaScriptInvoke
-
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.SSAAbstractInvokeInstruction
exception, site
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
NO_INDEX
-
Constructor Summary
ModifierConstructorDescriptionprotected
MultiReturnValueInvokeInstruction
(int iindex, int[] results, int exception, CallSiteReference site) -
Method Summary
Modifier and TypeMethodDescriptionint
How many distinct values does this call return?int
getReturnValue
(int i) What is the the value number of the ith value returned by this callMethods inherited from class com.ibm.wala.ssa.SSAAbstractInvokeInstruction
getCallSite, getDeclaredResultType, getDeclaredTarget, getDef, getDef, getException, getInvocationCode, getNumberOfDefs, getNumberOfPositionalParameters, getProgramCounter, getReceiver, hasDef, isDispatch, isFallThrough, isPEI, isSpecial, isStatic, toString
Methods inherited from class com.ibm.wala.ssa.SSAInstruction
copyForSSA, equals, getExceptionTypes, getNumberOfUses, getUse, getValueString, hashCode, iIndex, setInstructionIndex, toString, visit
-
Field Details
-
results
protected final int[] results
-
-
Constructor Details
-
MultiReturnValueInvokeInstruction
protected MultiReturnValueInvokeInstruction(int iindex, int[] results, int exception, CallSiteReference site)
-
-
Method Details
-
getNumberOfReturnValues
public int getNumberOfReturnValues()Description copied from class:SSAAbstractInvokeInstruction
How many distinct values does this call return?- Specified by:
getNumberOfReturnValues
in classSSAAbstractInvokeInstruction
-
getReturnValue
public int getReturnValue(int i) Description copied from class:SSAAbstractInvokeInstruction
What is the the value number of the ith value returned by this call- Specified by:
getReturnValue
in classSSAAbstractInvokeInstruction
-