# HG changeset patch # User Josef Eisl # Date 1396607386 -7200 # Node ID fe00ea6439be192d41b16ac02c4aeb7c2a4d6499 # Parent a6c144380ce7398a024fdec8d3ef69d56da1a54d PTX: fix LIR generation problem (introduced by b65036798097). diff -r a6c144380ce7 -r fe00ea6439be graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java --- a/graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java Fri Apr 04 12:22:49 2014 +0200 +++ b/graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java Fri Apr 04 12:29:46 2014 +0200 @@ -838,7 +838,7 @@ // Store result in global memory whose location is loadVar emitStoreReturnValue(operand.getKind(), loadVar, operand, null); } - append(new ReturnOp(operand)); + emitReturnNoVal(); } void emitReturnNoVal() {