Skip to content

Commit a893c8b

Browse files
committed
Fix -H:CompilerBackend=llvm with builder on module-path
1 parent 07fc245 commit a893c8b

File tree

1 file changed

+2
-2
lines changed
  • substratevm/src/com.oracle.svm.core.graal.llvm/src/com/oracle/svm/core/graal/llvm

1 file changed

+2
-2
lines changed

substratevm/src/com.oracle.svm.core.graal.llvm/src/com/oracle/svm/core/graal/llvm/LLVMFeature.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
import com.oracle.svm.core.graal.llvm.lowering.LLVMLoadExceptionObjectLowering;
5050
import com.oracle.svm.core.graal.llvm.lowering.SubstrateLLVMLoweringProvider;
5151
import com.oracle.svm.core.graal.llvm.replacements.LLVMGraphBuilderPlugins;
52-
import com.oracle.svm.core.graal.llvm.replacements.LLVMIntrinsicNode;
5352
import com.oracle.svm.core.graal.llvm.runtime.LLVMExceptionUnwind;
5453
import com.oracle.svm.core.graal.llvm.util.LLVMOptions;
5554
import com.oracle.svm.core.graal.llvm.util.LLVMToolchain;
@@ -90,7 +89,8 @@ public boolean isInConfiguration(IsInConfigurationAccess access) {
9089
@Override
9190
public void afterRegistration(AfterRegistrationAccess access) {
9291
if (ModuleSupport.modulePathBuild) {
93-
ModuleSupport.accessModuleByClass(ModuleSupport.Access.OPEN, NodeClass.class, LLVMIntrinsicNode.class);
92+
ModuleSupport.accessModuleByClass(ModuleSupport.Access.EXPORT, NodeClass.class, LLVMGraphBuilderPlugins.class);
93+
ModuleSupport.accessModuleByClass(ModuleSupport.Access.EXPORT, NodeClass.class, SubstrateLLVMLoweringProvider.class);
9494
}
9595

9696
ImageSingletons.add(SubstrateBackendFactory.class, new SubstrateBackendFactory() {

0 commit comments

Comments
 (0)