Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
2829:27c00b180416 | 2830:706047ee5f2e |
---|---|
1179 LIRBlock block = blockAt(i); | 1179 LIRBlock block = blockAt(i); |
1180 List<LIRInstruction> instructions = block.lir().instructionsList(); | 1180 List<LIRInstruction> instructions = block.lir().instructionsList(); |
1181 final int blockFrom = block.firstLirInstructionId(); | 1181 final int blockFrom = block.firstLirInstructionId(); |
1182 int blockTo = block.lastLirInstructionId(); | 1182 int blockTo = block.lastLirInstructionId(); |
1183 | 1183 |
1184 // (tw) Destroy all registers on exception handler entry. | |
1185 if (block.isExceptionEntry()) { | |
1186 for (CiRegister r : callerSaveRegs) { | |
1187 if (attributes(r).isAllocatable) { | |
1188 addTemp(r.asValue(), block.firstLirInstructionId(), RegisterPriority.None, CiKind.Illegal); | |
1189 } | |
1190 } | |
1191 } | |
1192 assert blockFrom == instructions.get(0).id; | 1184 assert blockFrom == instructions.get(0).id; |
1193 assert blockTo == instructions.get(instructions.size() - 1).id; | 1185 assert blockTo == instructions.get(instructions.size() - 1).id; |
1194 | 1186 |
1195 // Update intervals for operands live at the end of this block; | 1187 // Update intervals for operands live at the end of this block; |
1196 CiBitMap live = block.liveOut; | 1188 CiBitMap live = block.liveOut; |