class PEGraphDecoderTest.InlineAll extends Object implements InlineInvokePlugin
InlineInvokePlugin.InlineInfo
Constructor and Description |
---|
InlineAll() |
Modifier and Type | Method and Description |
---|---|
InlineInvokePlugin.InlineInfo |
shouldInlineInvoke(GraphBuilderContext b,
ResolvedJavaMethod method,
ValueNode[] args,
JavaType returnType)
Determines whether a call to a given method is to be inlined.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyAfterInline, notifyBeforeInline, notifyNotInlined
InlineAll()
public InlineInvokePlugin.InlineInfo shouldInlineInvoke(GraphBuilderContext b, ResolvedJavaMethod method, ValueNode[] args, JavaType returnType)
InlineInvokePlugin
Non-null return value with a non-null method
: That
method
is inlined. Note that it can be a different
method than the one specified here as the parameter, which allows method substitutions.
Non-null return value with a null method
, e.g.,
InlineInvokePlugin.InlineInfo.DO_NOT_INLINE_WITH_EXCEPTION
: The method is not inlined, and other plugins
with a lower priority cannot overwrite this decision.
Null return value: This plugin made no decision, other plugins with a lower priority are asked.
shouldInlineInvoke
in interface InlineInvokePlugin
b
- the contextmethod
- the target method of an invokeargs
- the arguments to the invokereturnType
- the return type derived from method
's signature