src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/FoldTest.java
changeset 58877 aec7bf35d6f5
parent 58299 6df94ce3ab2f
equal deleted inserted replaced
58876:1a8d65e71a66 58877:aec7bf35d6f5
    79         }
    79         }
    80     }
    80     }
    81 
    81 
    82     @Override
    82     @Override
    83     protected void registerInvocationPlugins(InvocationPlugins invocationPlugins) {
    83     protected void registerInvocationPlugins(InvocationPlugins invocationPlugins) {
    84         InjectionProvider injection = new NodeIntrinsificationProvider(getMetaAccess(), getSnippetReflection(), getProviders().getForeignCalls(), null);
    84         InjectionProvider injection = new NodeIntrinsificationProvider(getMetaAccess(), getSnippetReflection(), getProviders().getForeignCalls(), null, getTarget());
    85         new PluginFactory_FoldTest().registerPlugins(invocationPlugins, injection);
    85         new PluginFactory_FoldTest().registerPlugins(invocationPlugins, injection);
    86         BytecodeProvider replacementBytecodeProvider = getSystemClassLoaderBytecodeProvider();
    86         BytecodeProvider replacementBytecodeProvider = getSystemClassLoaderBytecodeProvider();
    87         Registration r = new Registration(invocationPlugins, TestMethod.class, replacementBytecodeProvider);
    87         Registration r = new Registration(invocationPlugins, TestMethod.class, getReplacements(), replacementBytecodeProvider);
    88         r.registerMethodSubstitution(TestMethodSubstitution.class, "test");
    88         r.registerMethodSubstitution(TestMethodSubstitution.class, "test");
    89         super.registerInvocationPlugins(invocationPlugins);
    89         super.registerInvocationPlugins(invocationPlugins);
    90     }
    90     }
    91 
    91 
    92     public static int callTest() {
    92     public static int callTest() {