# HG changeset patch # User Gilles Duboscq # Date 1362743422 -3600 # Node ID 0339d17fa9509519729228ba8332f82dd9749662 # Parent ed880b9992b4e0be522bccd7570e411c6b9df791 Implement PTXLIRGenerator.emitDeoptimize in a similar way to the guard implementation for PTX: just return diff -r ed880b9992b4 -r 0339d17fa950 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 Thu Mar 07 14:36:09 2013 +0100 +++ b/graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java Fri Mar 08 12:50:22 2013 +0100 @@ -350,7 +350,7 @@ @Override public void emitDeoptimize(DeoptimizationAction action, DeoptimizationReason reason) { - throw new InternalError("NYI"); + append(new ReturnOp(Value.ILLEGAL)); } @Override