Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java @ 2775:3b73b230b86b
Removed more stateAfter usages.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 24 May 2011 13:51:32 +0200 |
parents | d3398b21faf9 |
children | 2ac7b30b7290 |
comparison
equal
deleted
inserted
replaced
2774:93fd92c9f8b0 | 2775:3b73b230b86b |
---|---|
1260 // special steps for some instructions (especially moves) | 1260 // special steps for some instructions (especially moves) |
1261 handleMethodArguments(op); | 1261 handleMethodArguments(op); |
1262 addRegisterHints(op); | 1262 addRegisterHints(op); |
1263 | 1263 |
1264 } // end of instruction iteration | 1264 } // end of instruction iteration |
1265 | |
1266 // (tw) Make sure that no spill store optimization is applied for phi instructions that flow into exception handlers. | |
1267 // if (block.isExceptionEntry()) { | |
1268 // FrameState stateBefore = block.stateBefore(); | |
1269 // stateBefore.forEachLivePhi(block, new PhiProcedure() { | |
1270 // @Override | |
1271 // public boolean doPhi(Phi phi) { | |
1272 // Interval interval = intervalFor(phi.operand()); | |
1273 // if (interval != null) { | |
1274 // interval.setSpillState(SpillState.NoOptimization); | |
1275 // } | |
1276 // return true; | |
1277 // } | |
1278 // }); | |
1279 // } | |
1280 | 1265 |
1281 } // end of block iteration | 1266 } // end of block iteration |
1282 | 1267 |
1283 // add the range [0, 1] to all fixed intervals. | 1268 // add the range [0, 1] to all fixed intervals. |
1284 // the register allocator need not handle unhandled fixed intervals | 1269 // the register allocator need not handle unhandled fixed intervals |