public interface Invokable extends DeoptBciSupplier
| Modifier and Type | Method and Description |
|---|---|
default FixedNode |
asFixedNodeOrNull()
Returns the receiver cast to
FixedNode, or null if this invokable is a placeholder. |
ResolvedJavaMethod |
getContextMethod()
Returns the method from which the call is executed.
|
ResolvedJavaMethod |
getTargetMethod() |
default void |
updateInliningLogAfterClone(Node other)
Called on a
Invokable node after it was cloned from another node. |
default void |
updateInliningLogAfterRegister(StructuredGraph newGraph)
Called on a
Invokable node after it is registered with a graph. |
bci, setBciResolvedJavaMethod getTargetMethod()
ResolvedJavaMethod getContextMethod()
default FixedNode asFixedNodeOrNull()
FixedNode, or null if this invokable is a placeholder.default void updateInliningLogAfterRegister(StructuredGraph newGraph)
Invokable node after it is registered with a graph.
To override the default functionality, code that creates an Invokable should set the
updating logic by calling InliningLog.openUpdateScope(java.util.function.BiConsumer<org.graalvm.compiler.nodes.Invokable, org.graalvm.compiler.nodes.Invokable>).default void updateInliningLogAfterClone(Node other)
Invokable node after it was cloned from another node.
This call is always preceded with a call to Invokable.updateInliningLogAfterRegister(org.graalvm.compiler.nodes.StructuredGraph).
To override the default functionality, code that creates an Invokable should set the
updating logic by calling InliningLog.openUpdateScope(java.util.function.BiConsumer<org.graalvm.compiler.nodes.Invokable, org.graalvm.compiler.nodes.Invokable>).