GraphBuilderContext.add(T)
nor
GraphBuilderContext.addPush(Kind, ValueNode)
can be used.pushes
a value with a different Kind
than specified by the bytecode, it must override this method and return true
.InvocationPlugin
.apply
method is not available.InvocationPlugin
for converting a method call directly to a foreign call.null
if not
parsing an intrinsic
.null
if the call site must not be inlined.GraphBuilderPlugin
to interface with an object that parses the bytecode of a
single method as part of building a graph .inlining decision
.side effects
that
are control flow predecessors of the current point in a graph.InvocationPlugin
s.InlineInvokePlugin.InlineInfo.methodToInline
is an intrinsic for the original method (i.e., the
method
passed to InlineInvokePlugin.shouldInlineInvoke(com.oracle.graal.graphbuilderconf.GraphBuilderContext, jdk.internal.jvmci.meta.ResolvedJavaMethod, com.oracle.graal.nodes.ValueNode[], jdk.internal.jvmci.meta.JavaType)
).InvocationPlugin
for a method where the implementation of the method is provided by a
substitute method.Invoke
node created for a method that was not inlined per
InlineInvokePlugin.shouldInlineInvoke(com.oracle.graal.graphbuilderconf.GraphBuilderContext, jdk.internal.jvmci.meta.ResolvedJavaMethod, com.oracle.graal.nodes.ValueNode[], jdk.internal.jvmci.meta.JavaType)
.InvocationPlugin
s for methods declared by a
given class.true
if it is an error for a class/field/method resolution to fail.