Search in sources :

Example 1 with TruffleInvocationPluginProvider

use of org.graalvm.compiler.truffle.compiler.substitutions.TruffleInvocationPluginProvider in project graal by oracle.

the class PartialEvaluator method registerTruffleInvocationPlugins.

protected void registerTruffleInvocationPlugins(InvocationPlugins invocationPlugins, boolean canDelayIntrinsification) {
    ConstantReflectionProvider constantReflection = providers.getConstantReflection();
    TruffleGraphBuilderPlugins.registerInvocationPlugins(invocationPlugins, canDelayIntrinsification, providers.getMetaAccess(), constantReflection, knownTruffleTypes);
    for (TruffleInvocationPluginProvider p : GraalServices.load(TruffleInvocationPluginProvider.class)) {
        p.registerInvocationPlugins(providers.getMetaAccess(), invocationPlugins, canDelayIntrinsification, constantReflection);
    }
}
Also used : TruffleInvocationPluginProvider(org.graalvm.compiler.truffle.compiler.substitutions.TruffleInvocationPluginProvider) ConstantReflectionProvider(jdk.vm.ci.meta.ConstantReflectionProvider)

Aggregations

ConstantReflectionProvider (jdk.vm.ci.meta.ConstantReflectionProvider)1 TruffleInvocationPluginProvider (org.graalvm.compiler.truffle.compiler.substitutions.TruffleInvocationPluginProvider)1