diff graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java @ 11834:24ff15442a09

Remove DeoptimizingNode.getDeoptimizationReason
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 26 Sep 2013 16:10:02 +0200
parents b04b94b71649
children d72c314260dc
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java	Thu Sep 26 16:03:28 2013 +0200
+++ b/graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXLIRGenerator.java	Thu Sep 26 16:10:02 2013 +0200
@@ -139,7 +139,7 @@
             params[i] = (Variable) incomingArguments.getArgument(i);
         }
         // Add the return value as the last parameter.
-        params[argCount] =  (Variable) incomingArguments.getReturn();
+        params[argCount] = (Variable) incomingArguments.getReturn();
 
         append(new PTXParameterOp(params));
         for (LocalNode local : graph.getNodes(LocalNode.class)) {
@@ -181,7 +181,8 @@
             baseRegister = asAllocatable(base);
         }
 
-        @SuppressWarnings("unused") Value indexRegister;
+        @SuppressWarnings("unused")
+        Value indexRegister;
         if (!index.equals(Value.ILLEGAL) && scale != 0) {
             if (isConstant(index)) {
                 finalDisp += asConstant(index).asLong() * scale;
@@ -286,7 +287,6 @@
         throw GraalInternalError.unimplemented("PTXLIRGenerator.emitConditionalMove()");
     }
 
-
     @Override
     public Variable emitIntegerTestMove(Value left, Value right, Value trueValue, Value falseValue) {
         throw new InternalError("NYI");
@@ -619,7 +619,7 @@
     }
 
     @Override
-    public void emitDeoptimize(DeoptimizationAction action, DeoptimizingNode deopting) {
+    public void emitDeoptimize(DeoptimizationAction action, DeoptimizationReason reason, DeoptimizingNode deopting) {
         append(new ReturnOp(Value.ILLEGAL));
     }