public static class InlineInvokePlugin.InlineInfo extends Object
inlining decision
.Modifier and Type | Field and Description |
---|---|
static InlineInvokePlugin.InlineInfo |
DO_NOT_INLINE_NO_EXCEPTION
Denotes a call site must not be inlined and can be implemented by a node that speculates
the call will not throw an exception.
|
static InlineInvokePlugin.InlineInfo |
DO_NOT_INLINE_WITH_EXCEPTION
Denotes a call site that must not be inlined and should be implemented by a node that
does not speculate on the call not raising an exception.
|
private boolean |
isIntrinsic |
private ResolvedJavaMethod |
methodToInline |
Constructor and Description |
---|
InlineInfo(ResolvedJavaMethod methodToInline,
boolean isIntrinsic) |
Modifier and Type | Method and Description |
---|---|
ResolvedJavaMethod |
getMethodToInline()
Returns the method to be inlined, or
null if the call site must not be inlined. |
boolean |
isIntrinsic()
Specifies if
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) ). |
public static final InlineInvokePlugin.InlineInfo DO_NOT_INLINE_WITH_EXCEPTION
public static final InlineInvokePlugin.InlineInfo DO_NOT_INLINE_NO_EXCEPTION
private final ResolvedJavaMethod methodToInline
private final boolean isIntrinsic
public InlineInfo(ResolvedJavaMethod methodToInline, boolean isIntrinsic)
public ResolvedJavaMethod getMethodToInline()
null
if the call site must not be inlined.public boolean isIntrinsic()
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)
).