use of org.graalvm.compiler.core.common.spi.ForeignCallLinkage in project graal by oracle.
the class StubForeignCallNode method generate.
@Override
public void generate(NodeLIRBuilderTool gen) {
assert graph().start() instanceof StubStartNode;
ForeignCallLinkage linkage = foreignCalls.lookupForeignCall(descriptor);
Value[] operands = operands(gen);
Value result = gen.getLIRGeneratorTool().emitForeignCall(linkage, null, operands);
if (result != null) {
gen.setResult(this, result);
}
}
Aggregations