src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/CachingPEGraphDecoder.java
changeset 58877 aec7bf35d6f5
parent 58299 6df94ce3ab2f
equal deleted inserted replaced
58876:1a8d65e71a66 58877:aec7bf35d6f5
   130             IntrinsicContext initialIntrinsicContext = intrinsicBytecodeProvider != null
   130             IntrinsicContext initialIntrinsicContext = intrinsicBytecodeProvider != null
   131                             ? new IntrinsicContext(method, plugin.getSubstitute(providers.getMetaAccess()), intrinsicBytecodeProvider, INLINE_AFTER_PARSING)
   131                             ? new IntrinsicContext(method, plugin.getSubstitute(providers.getMetaAccess()), intrinsicBytecodeProvider, INLINE_AFTER_PARSING)
   132                             : null;
   132                             : null;
   133             GraphBuilderPhase.Instance graphBuilderPhaseInstance = createGraphBuilderPhaseInstance(initialIntrinsicContext);
   133             GraphBuilderPhase.Instance graphBuilderPhaseInstance = createGraphBuilderPhaseInstance(initialIntrinsicContext);
   134             graphBuilderPhaseInstance.apply(graphToEncode);
   134             graphBuilderPhaseInstance.apply(graphToEncode);
   135             new CanonicalizerPhase().apply(graphToEncode, providers);
   135             CanonicalizerPhase.create().apply(graphToEncode, providers);
   136             if (postParsingPhase != null) {
   136             if (postParsingPhase != null) {
   137                 postParsingPhase.apply(graphToEncode, providers);
   137                 postParsingPhase.apply(graphToEncode, providers);
   138             }
   138             }
   139         } catch (Throwable ex) {
   139         } catch (Throwable ex) {
   140             throw debug.handle(ex);
   140             throw debug.handle(ex);