< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext.java

Print this page

        

*** 293,298 **** --- 293,314 ---- @SuppressWarnings("unused") default void notifyReplacedCall(ResolvedJavaMethod targetMethod, ConstantNode node) { } + + /** + * Interface whose instances hold inlining information about the current context, in a wider + * sense. The wider sense in this case concerns graph building approaches that don't necessarily + * keep a chain of {@link GraphBuilderContext} instances normally available through + * {@linkplain #getParent()}. Examples of such approaches are partial evaluation and incremental + * inlining. + */ + interface ExternalInliningContext { + int getInlinedDepth(); + } + + default ExternalInliningContext getExternalInliningContext() { + return null; + } + }
< prev index next >