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

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

Issue 10091048: Fix remaining warnings. (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
Index: lib/compiler/implementation/ssa/nodes.dart
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart
index 30134858fcc2127d3aef2a4a40d8191ec159a48e..52fc8ea178e86e06452d53d907fd6402e1670f89 100644
--- a/lib/compiler/implementation/ssa/nodes.dart
+++ b/lib/compiler/implementation/ssa/nodes.dart
@@ -622,19 +622,19 @@ class HBasicBlock extends HInstructionList implements Hashable {
// If the predecessor has a dominator and this basic block has a
// dominator, we find a common parent in the dominator tree and
// use that as the dominator.
- HBasicBlock first = dominator;
- HBasicBlock second = predecessor;
- while (first !== second) {
- if (first.id > second.id) {
- first = first.dominator;
+ HBasicBlock block0 = dominator;
+ HBasicBlock block1 = predecessor;
+ while (block0 !== block1) {
+ if (block0.id > block1.id) {
+ block0 = block0.dominator;
} else {
- second = second.dominator;
+ block1 = block1.dominator;
}
- assert(first !== null && second !== null);
+ assert(block0 !== null && block1 !== null);
}
- if (dominator !== first) {
+ if (dominator !== block0) {
dominator.removeDominatedBlock(this);
- first.addDominatedBlock(this);
+ block0.addDominatedBlock(this);
}
}
}
« no previous file with comments | « lib/compiler/implementation/scanner/scanner_bench.dart ('k') | lib/compiler/implementation/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698