< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotHostBackend.java

Print this page

        

@@ -90,10 +90,11 @@
         }
         try (InitTimer st = timer("lowerer.initialize")) {
             Iterable<DebugHandlersFactory> factories = Collections.singletonList(new GraalDebugHandlersFactory(providers.getSnippetReflection()));
             lowerer.initialize(options, factories, providers, config);
         }
+        providers.getReplacements().closeSnippetRegistration();
     }
 
     protected CallingConvention makeCallingConvention(StructuredGraph graph, Stub stub) {
         if (stub != null) {
             return stub.getLinkage().getIncomingCallingConvention();
< prev index next >