Mercurial > hg > truffle
changeset 14970:fe00ea6439be
PTX: fix LIR generation problem (introduced by b65036798097).
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Fri, 04 Apr 2014 12:29:46 +0200 |
parents | a6c144380ce7 |
children | 63bc517c3543 |
files | graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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() {