public abstract class GraalFrameInstance extends Object implements com.oracle.truffle.api.frame.FrameInstance
Modifier and Type | Class and Description |
---|---|
static class |
GraalFrameInstance.CallNodeFrame
This class represents a frame that is taken from the
OptimizedDirectCallNode.callProxy(MaterializedFrameNotify, CallTarget, VirtualFrame, Object[], boolean)
method. |
static class |
GraalFrameInstance.CallTargetFrame
This class represents a frame that is taken from the
OptimizedCallTarget.callProxy(com.oracle.truffle.api.frame.VirtualFrame)
method. |
Modifier and Type | Field and Description |
---|---|
protected InspectedFrame |
stackFrame |
Constructor and Description |
---|
GraalFrameInstance(InspectedFrame stackFrame) |
Modifier and Type | Method and Description |
---|---|
abstract com.oracle.truffle.api.nodes.Node |
getCallNode() |
abstract com.oracle.truffle.api.CallTarget |
getCallTarget() |
com.oracle.truffle.api.frame.Frame |
getFrame(com.oracle.truffle.api.frame.FrameInstance.FrameAccess access,
boolean slowPath) |
protected abstract int |
getFrameIndex() |
protected abstract int |
getNotifyIndex() |
boolean |
isVirtualFrame() |
protected final InspectedFrame stackFrame
public GraalFrameInstance(InspectedFrame stackFrame)
protected abstract int getNotifyIndex()
protected abstract int getFrameIndex()
public com.oracle.truffle.api.frame.Frame getFrame(com.oracle.truffle.api.frame.FrameInstance.FrameAccess access, boolean slowPath)
getFrame
in interface com.oracle.truffle.api.frame.FrameInstance
public boolean isVirtualFrame()
isVirtualFrame
in interface com.oracle.truffle.api.frame.FrameInstance
public abstract com.oracle.truffle.api.CallTarget getCallTarget()
getCallTarget
in interface com.oracle.truffle.api.frame.FrameInstance
public abstract com.oracle.truffle.api.nodes.Node getCallNode()
getCallNode
in interface com.oracle.truffle.api.frame.FrameInstance