use of org.graalvm.compiler.truffle.common.TruffleInliningData in project graal by oracle.
the class IsolatedTruffleInlining method setCallCount0.
@CEntryPoint(include = CEntryPoint.NotIncludedAutomatically.class)
@CEntryPointOptions(publishAs = CEntryPointOptions.Publish.NotPublished)
private static void setCallCount0(@SuppressWarnings("unused") ClientIsolateThread client, ClientHandle<? extends TruffleInliningData> handle, int count) {
TruffleInliningData truffleInliningData = IsolatedCompileClient.get().unhand(handle);
truffleInliningData.setCallCount(count);
}
use of org.graalvm.compiler.truffle.common.TruffleInliningData in project graal by oracle.
the class IsolatedTruffleInlining method findCallNode0.
@CEntryPoint(include = CEntryPoint.NotIncludedAutomatically.class)
@CEntryPointOptions(publishAs = CEntryPointOptions.Publish.NotPublished)
private static ClientHandle<TruffleCallNode> findCallNode0(@SuppressWarnings("unused") ClientIsolateThread client, ClientHandle<? extends TruffleInliningData> inliningHandle, ClientHandle<?> callNodeConstantHandle) {
TruffleInliningData inlining = IsolatedCompileClient.get().unhand(inliningHandle);
JavaConstant callNodeConstant = SubstrateObjectConstant.forObject(IsolatedCompileClient.get().unhand(callNodeConstantHandle));
TruffleCallNode callNode = inlining.findCallNode(callNodeConstant);
return IsolatedCompileClient.get().hand(callNode);
}
use of org.graalvm.compiler.truffle.common.TruffleInliningData in project graal by oracle.
the class IsolatedTruffleInlining method setInlinedCallCount0.
@CEntryPoint(include = CEntryPoint.NotIncludedAutomatically.class)
@CEntryPointOptions(publishAs = CEntryPointOptions.Publish.NotPublished)
private static void setInlinedCallCount0(@SuppressWarnings("unused") ClientIsolateThread client, ClientHandle<? extends TruffleInliningData> handle, int count) {
TruffleInliningData truffleInliningData = IsolatedCompileClient.get().unhand(handle);
truffleInliningData.setInlinedCallCount(count);
}
Aggregations