# HG changeset patch # User Thomas Wuerthinger # Date 1305040648 -7200 # Node ID 776e026f2e154a2e878f9b6263dd10bc7e79d29b # Parent c4d9b770c377e6461136e0a4700433074a21e71c Small cleanup. diff -r c4d9b770c377 -r 776e026f2e15 graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java --- 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); diff -r c4d9b770c377 -r 776e026f2e15 graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java --- 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); - } }