changeset 2632:776e026f2e15

Small cleanup.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 10 May 2011 17:17:28 +0200
parents c4d9b770c377
children 721a45190d6d
files graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java
diffstat 2 files changed, 2 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java	Tue May 10 16:48:01 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java	Tue May 10 17:17:28 2011 +0200
@@ -907,9 +907,9 @@
         lir.move(exceptionOpr, argumentOperand);
 
         if (unwind) {
-            lir.unwindException(exceptionPcOpr(), exceptionOpr, info);
+            lir.unwindException(CiValue.IllegalValue, exceptionOpr, info);
         } else {
-            lir.throwException(exceptionPcOpr(), argumentOperand, info);
+            lir.throwException(CiValue.IllegalValue, argumentOperand, info);
         }
     }
 
@@ -1570,10 +1570,6 @@
 
     protected abstract boolean canStoreAsConstant(Value i, CiKind kind);
 
-    protected abstract CiValue exceptionPcOpr();
-
-    protected abstract CiValue osrBufferPointer();
-
     protected abstract boolean strengthReduceMultiply(CiValue left, int constant, CiValue result, CiValue tmp);
 
     protected abstract CiAddress genAddress(CiValue base, CiValue index, int shift, int disp, CiKind kind);
--- a/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java	Tue May 10 16:48:01 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java	Tue May 10 17:17:28 2011 +0200
@@ -65,11 +65,6 @@
     }
 
     @Override
-    protected CiValue exceptionPcOpr() {
-        return ILLEGAL;
-    }
-
-    @Override
     protected boolean canStoreAsConstant(Value v, CiKind kind) {
         if (kind == CiKind.Short || kind == CiKind.Char) {
             // there is no immediate move of word values in asemblerI486.?pp
@@ -524,9 +519,4 @@
         assert x.defaultSuccessor() == x.falseSuccessor() : "wrong destination above";
         lir.jump(x.defaultSuccessor());
     }
-
-    @Override
-    protected CiValue osrBufferPointer() {
-        return Util.nonFatalUnimplemented(null);
-    }
 }