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 SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor -
Field Summary
FieldsFields inherited from class SSAAbstractInvokeInstruction
exception, siteFields inherited from class SSAInstruction
NO_INDEX -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMultiReturnValueInvokeInstruction(int iindex, int[] results, int exception, CallSiteReference site) -
Method Summary
Modifier and TypeMethodDescriptionintHow many distinct values does this call return?intgetReturnValue(int i) What is the the value number of the ith value returned by this callMethods inherited from class SSAAbstractInvokeInstruction
getCallSite, getDeclaredResultType, getDeclaredTarget, getDef, getDef, getException, getInvocationCode, getNumberOfDefs, getNumberOfPositionalParameters, getProgramCounter, getReceiver, hasDef, isDispatch, isFallThrough, isPEI, isSpecial, isStatic, toStringMethods inherited from class 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:SSAAbstractInvokeInstructionHow many distinct values does this call return?- Specified by:
getNumberOfReturnValuesin classSSAAbstractInvokeInstruction
-
getReturnValue
public int getReturnValue(int i) Description copied from class:SSAAbstractInvokeInstructionWhat is the the value number of the ith value returned by this call- Specified by:
getReturnValuein classSSAAbstractInvokeInstruction
-