use of org.graalvm.compiler.lir.sparc.SPARCControlFlow.ReturnOp in project graal by oracle.
the class SPARCLIRGenerator method emitReturn.
@Override
public void emitReturn(JavaKind javaKind, Value input) {
AllocatableValue operand = Value.ILLEGAL;
if (input != null) {
operand = resultOperandFor(javaKind, input.getValueKind());
emitMove(operand, input);
}
append(new ReturnOp(operand));
}
Aggregations