public static class BytecodeInterpreterPartialEvaluationTest.Program extends com.oracle.truffle.api.nodes.RootNode
Modifier and Type | Field and Description |
---|---|
private byte[] |
bytecodes |
private com.oracle.truffle.api.frame.FrameSlot[] |
locals |
private String |
name |
private com.oracle.truffle.api.frame.FrameSlot[] |
stack |
Constructor and Description |
---|
Program(String name,
byte[] bytecodes,
int maxLocals,
int maxStack) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
protected int |
getInt(com.oracle.truffle.api.frame.VirtualFrame frame,
int stackIndex) |
protected void |
setInt(com.oracle.truffle.api.frame.VirtualFrame frame,
int stackIndex,
int value) |
String |
toString() |
void |
trace(String format,
Object... args) |
applyInstrumentation, copy, getCallTarget, getCompilerOptions, getExecutionContext, getFrameDescriptor, isCloningAllowed, reportLoopCount, setCallTarget
accept, adoptChildren, assignSourceSection, atomic, atomic, clearSourceSection, clone, createWrapperNode, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLanguage, getParent, getRootNode, getSourceSection, insert, insert, isInstrumentable, isSafelyReplaceableBy, onReplace, probe, replace, replace
private final byte[] bytecodes
private final com.oracle.truffle.api.frame.FrameSlot[] locals
private final com.oracle.truffle.api.frame.FrameSlot[] stack