Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: lib/compiler/implementation/ssa/optimize.dart

Issue 9956172: Revert "Refactoring if block-information." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/compiler/implementation/ssa/nodes.dart ('k') | tests/utils/utils.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/optimize.dart
diff --git a/lib/compiler/implementation/ssa/optimize.dart b/lib/compiler/implementation/ssa/optimize.dart
index 4f333194229037be38e75a660f9c0bef7e470366..0b58830472c3856281ab91e0b21685c7f553b0fe 100644
--- a/lib/compiler/implementation/ssa/optimize.dart
+++ b/lib/compiler/implementation/ssa/optimize.dart
@@ -479,8 +479,7 @@ class SsaGlobalValueNumberer implements OptimizationPhase {
HBasicBlock block = graph.blocks[i];
if (block.isLoopHeader()) {
int changesFlags = loopChangesFlags[block.id];
- HLoopInformation info = block.blockInformation;
- HBasicBlock last = info.getLastBackEdge();
+ HBasicBlock last = block.loopInformation.getLastBackEdge();
for (int j = block.id; j <= last.id; j++) {
moveLoopInvariantCodeFromBlock(graph.blocks[j], block, changesFlags);
}
« no previous file with comments | « lib/compiler/implementation/ssa/nodes.dart ('k') | tests/utils/utils.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698