diff graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java @ 2832:775c31be565c

Clean up. Removed special exception successors in LIRBlock. Throw no longer a BlockEnd.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 31 May 2011 11:50:19 +0200
parents 706047ee5f2e
children 1cd59ca9ac86
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java	Tue May 31 11:32:48 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/alloc/LinearScan.java	Tue May 31 11:50:19 2011 +0200
@@ -1284,23 +1284,6 @@
                 addRegisterHints(op);
 
             } // end of instruction iteration
-
-
-            // (tw) TODO: Check if this matters..
-            // (tw) Make sure that no spill store optimization is applied for phi instructions that flow into exception handlers.
-//            if (block.isExceptionEntry()) {
-//                Instruction firstInstruction = block.getInstructions().get(0);
-//                for (Node n : firstInstruction.usages()) {
-//                    if (n instanceof Phi) {
-//                        Phi phi = (Phi) n;
-//                        Interval interval = intervalFor(phi.operand());
-//                        if (interval != null) {
-//                            interval.setSpillState(SpillState.NoOptimization);
-//                        }
-//                    }
-//                }
-//            }
-
         } // end of block iteration
 
         // add the range [0, 1] to all fixed intervals.