public class EXECUTENATIVE extends JVMInstruction
Modifier and Type | Field and Description |
---|---|
protected NativeMethodInfo |
executedMethod |
static int |
OPCODE |
attr, insnIndex, mi, position
Constructor and Description |
---|
EXECUTENATIVE() |
EXECUTENATIVE(NativeMethodInfo mi) |
Modifier and Type | Method and Description |
---|---|
void |
accept(InstructionVisitor insVisitor) |
Instruction |
execute(ThreadInfo ti)
this is the real workhorse
returns next instruction to enter in this thread
<2do> it's unfortunate we roll every side effect into this method, because
it diminishes the value of the 'executeInstruction' notification: all
insns that require some sort of late binding (InvokeVirtual, GetField, ..)
are not yet fully analyzable (e.g.
|
int |
getByteCode() |
MethodInfo |
getExecutedMethod() |
String |
getExecutedMethodName() |
boolean |
isExtendedInstruction()
is this one of our own, artificial insns?
|
void |
setExecutedMethod(NativeMethodInfo mi) |
String |
toString() |
addAttr, attrIterator, attrIterator, cleanupTransients, getAttr, getAttr, getFileLocation, getFilePos, getInstructionIndex, getLength, getLineNumber, getMethodInfo, getMnemonic, getNext, getNext, getNextAttr, getPosition, getPrev, getSourceLine, getSourceLocation, getSourceOrLocation, hasAttr, hasAttr, init, isBackJump, isCompleted, isFirstInstruction, isSchedulingRelevant, removeAttr, replaceAttr, requiresClinitExecution, setAttr, setContext, setLocation, setMethodInfo, typeSafeClone
protected NativeMethodInfo executedMethod
public static final int OPCODE
public EXECUTENATIVE()
public EXECUTENATIVE(NativeMethodInfo mi)
public boolean isExtendedInstruction()
Instruction
isExtendedInstruction
in class Instruction
public int getByteCode()
getByteCode
in class Instruction
public void setExecutedMethod(NativeMethodInfo mi)
public void accept(InstructionVisitor insVisitor)
public Instruction execute(ThreadInfo ti)
Instruction
execute
in class Instruction
public MethodInfo getExecutedMethod()
public String getExecutedMethodName()
public String toString()
toString
in class Instruction