Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRAssembler.java @ 2833:1cd59ca9ac86
Removed Throw HIR instruction. Removed special handling for exceptions in register allocator.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 31 May 2011 13:30:23 +0200 |
parents | ac4b086cbd72 |
children |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRAssembler.java Tue May 31 11:50:19 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRAssembler.java Tue May 31 13:30:23 2011 +0200 @@ -1397,16 +1397,6 @@ indirectCall(reg, null, null); } - @Override - protected void emitThrow(CiValue exceptionPC, CiValue exceptionOop, LIRDebugInfo info) { - // exception object is not added to oop map by LinearScan - // (LinearScan assumes that no oops are in fixed registers) - // info.addRegisterOop(exceptionOop); - directCall(CiRuntimeCall.HandleException, info); - // enough room for two byte trap - shouldNotReachHere(); - } - private void emitXIRShiftOp(LIROpcode code, CiValue left, CiValue count, CiValue dest) { if (count.isConstant()) { emitShiftOp(code, left, ((CiConstant) count).asInt(), dest);