Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java @ 2830:706047ee5f2e
Removed ExceptionHandler class because of clean up.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 31 May 2011 11:01:24 +0200 |
parents | b003ea36fa12 |
children | 775c31be565c |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java Tue May 31 09:51:59 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java Tue May 31 11:01:24 2011 +0200 @@ -1181,14 +1181,6 @@ final int blockFrom = block.firstLirInstructionId(); int blockTo = block.lastLirInstructionId(); - // (tw) Destroy all registers on exception handler entry. - if (block.isExceptionEntry()) { - for (CiRegister r : callerSaveRegs) { - if (attributes(r).isAllocatable) { - addTemp(r.asValue(), block.firstLirInstructionId(), RegisterPriority.None, CiKind.Illegal); - } - } - } assert blockFrom == instructions.get(0).id; assert blockTo == instructions.get(instructions.size() - 1).id;