Package com.ibm.wala.cast.ir.ssa
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
public abstract class MultiReturnValueInvokeInstruction extends SSAAbstractInvokeInstruction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]results-
Fields inherited from class com.ibm.wala.ssa.SSAAbstractInvokeInstruction
exception, site
-
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
iindex, NO_INDEX
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMultiReturnValueInvokeInstruction(int iindex, int[] results, int exception, CallSiteReference site)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfReturnValues()How many distinct values does this call return?intgetReturnValue(int i)What is the the value number of the ith value returned by this call-
Methods inherited from class com.ibm.wala.ssa.SSAAbstractInvokeInstruction
getCallSite, getDeclaredResultType, getDeclaredTarget, getDef, getDef, getException, getInvocationCode, getNumberOfDefs, getNumberOfParameters, 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, toString, visit
-
-
-
-
Constructor Detail
-
MultiReturnValueInvokeInstruction
protected MultiReturnValueInvokeInstruction(int iindex, int[] results, int exception, CallSiteReference site)
-
-
Method Detail
-
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
-
-