changeset 8208:0339d17fa950

Implement PTXLIRGenerator.emitDeoptimize in a similar way to the guard implementation for PTX: just return
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 08 Mar 2013 12:50:22 +0100
parents ed880b9992b4
children 5ceaf43459b5
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	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