diff 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
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java	Tue May 24 13:39:50 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java	Tue May 24 13:51:32 2011 +0200
@@ -1263,21 +1263,6 @@
 
             } // end of instruction iteration
 
-            // (tw) Make sure that no spill store optimization is applied for phi instructions that flow into exception handlers.
-//            if (block.isExceptionEntry()) {
-//                FrameState stateBefore = block.stateBefore();
-//                stateBefore.forEachLivePhi(block, new PhiProcedure() {
-//                    @Override
-//                    public boolean doPhi(Phi phi) {
-//                        Interval interval = intervalFor(phi.operand());
-//                        if (interval != null) {
-//                            interval.setSpillState(SpillState.NoOptimization);
-//                        }
-//                        return true;
-//                    }
-//                });
-//            }
-
         } // end of block iteration
 
         // add the range [0, 1] to all fixed intervals.