public class ValueAwareMachine extends BaseMachine
Machine which keeps track of known values but does not do
smart/realistic reference type calculations.| Constructor and Description |
|---|
ValueAwareMachine(Prototype prototype)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(Frame frame,
int offset,
int opcode)
"Runs" the indicated opcode in an appropriate way, using the arguments
area as appropriate, and modifying the given frame in response.
|
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, throwLocalMismatchpublic ValueAwareMachine(Prototype prototype)
prototype - non-null; the prototype for the associated
methodpublic void run(Frame frame, int offset, int opcode)
frame - non-null; frame to operate onoffset - >= 0; byte offset in the method to the opcode being
runopcode - >= 0; the opcode to runCopyright © 2020. All Rights Reserved.