Package com.android.dx.cf.code
Class ValueAwareMachine
java.lang.Object
com.android.dx.cf.code.BaseMachine
com.android.dx.cf.code.ValueAwareMachine
- All Implemented Interfaces:
Machine
Machine
which keeps track of known values but does not do
smart/realistic reference type calculations.-
Constructor Summary
-
Method Summary
Methods inherited from class com.android.dx.cf.code.BaseMachine
addResult, arg, argCount, argWidth, auxCstArg, auxInitValues, auxIntArg, auxSwitchArg, auxTargetArg, auxType, clearArgs, clearResult, getAuxCases, getAuxCst, getAuxInt, getAuxTarget, getAuxType, getInitValues, getLocalIndex, getLocalInfo, getLocalTarget, getPrototype, localArg, localInfo, localTarget, popArgs, popArgs, popArgs, popArgs, popArgs, result, resultCount, resultWidth, setResult, storeResults, throwLocalMismatch
-
Constructor Details
-
ValueAwareMachine
Constructs an instance.- Parameters:
prototype
-non-null;
the prototype for the associated method
-
-
Method Details
-
run
"Runs" the indicated opcode in an appropriate way, using the arguments area as appropriate, and modifying the given frame in response.- Parameters:
frame
-non-null;
frame to operate onoffset
->= 0;
byte offset in the method to the opcode being runopcode
->= 0;
the opcode to run
-