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