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);
}
}
Aggregations