< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/CachingPEGraphDecoder.java

Print this page
rev 52509 : [mq]: graal2

@@ -88,10 +88,11 @@
         StructuredGraph graphToEncode = new StructuredGraph.Builder(options, debug, allowAssumptions).
                         useProfilingInfo(false).
                         trackNodeSourcePosition(graphBuilderConfig.trackNodeSourcePosition()).
                         method(method).
                         setIsSubstitution(isSubstitution).
+                        cancellable(graph.getCancellable()).
                         build();
         // @formatter:on
         try (DebugContext.Scope scope = debug.scope("createGraph", graphToEncode)) {
             IntrinsicContext initialIntrinsicContext = intrinsicBytecodeProvider != null ? new IntrinsicContext(originalMethod, method, intrinsicBytecodeProvider, INLINE_AFTER_PARSING) : null;
             GraphBuilderPhase.Instance graphBuilderPhaseInstance = createGraphBuilderPhaseInstance(initialIntrinsicContext);
< prev index next >