comparison graal/GraalCompiler/src/com/sun/c1x/graph/IR.java @ 2527:15936867feb5

Removed global value numberer.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 16:57:50 +0200
parents 0b57dac65b27
children 6edc0306038e
comparison
equal deleted inserted replaced
2526:0b57dac65b27 2527:15936867feb5
141 } 141 }
142 } 142 }
143 143
144 private void optimize2() { 144 private void optimize2() {
145 // do more advanced, dominator-based optimizations 145 // do more advanced, dominator-based optimizations
146 if (C1XOptions.OptGlobalValueNumbering) { 146 /*if (C1XOptions.OptGlobalValueNumbering) {
147 makeLinearScanOrder(); 147 makeLinearScanOrder();
148 new GlobalValueNumberer(this); 148 new GlobalValueNumberer(this);
149 verifyAndPrint("After global value numbering"); 149 verifyAndPrint("After global value numbering");
150 } 150 }*/
151 if (C1XOptions.OptDeadCodeElimination2) { 151 if (C1XOptions.OptDeadCodeElimination2) {
152 new LivenessMarker(this).removeDeadCode(); 152 new LivenessMarker(this).removeDeadCode();
153 verifyAndPrint("After dead code elimination 2"); 153 verifyAndPrint("After dead code elimination 2");
154 } 154 }
155 155