use of org.graalvm.compiler.truffle.common.CompilableTruffleAST in project graal by oracle.
the class IsolatedCompilableTruffleAST method getValidRootAssumption0.
@CEntryPoint(include = CEntryPoint.NotIncludedAutomatically.class)
@CEntryPointOptions(publishAs = CEntryPointOptions.Publish.NotPublished)
private static ClientHandle<Assumption> getValidRootAssumption0(@SuppressWarnings("unused") ClientIsolateThread client, ClientHandle<SubstrateCompilableTruffleAST> handle) {
CompilableTruffleAST ast = IsolatedCompileClient.get().unhand(handle);
JavaConstant assumptionConstant = ast.getValidRootAssumptionConstant();
Assumption assumption = (Assumption) SubstrateObjectConstant.asObject(assumptionConstant);
return IsolatedCompileClient.get().hand(assumption);
}
use of org.graalvm.compiler.truffle.common.CompilableTruffleAST in project graal by oracle.
the class IsolatedTruffleCallNode method getCurrentCallTarget0.
@CEntryPoint(include = CEntryPoint.NotIncludedAutomatically.class)
@CEntryPointOptions(publishAs = CEntryPointOptions.Publish.NotPublished)
private static ClientHandle<SubstrateCompilableTruffleAST> getCurrentCallTarget0(@SuppressWarnings("unused") ClientIsolateThread client, ClientHandle<TruffleCallNode> nodeHandle) {
TruffleCallNode node = IsolatedCompileClient.get().unhand(nodeHandle);
CompilableTruffleAST target = node.getCurrentCallTarget();
return IsolatedCompileClient.get().hand((SubstrateCompilableTruffleAST) target);
}
Aggregations