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

Unified Diff: pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart

Issue 1353443002: dart2js cps: Add a pass for eliminating bounds checks. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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: pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart
diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart
index 86a24b63116c21a657acfeda6af24f5997fa98de..36f8b5b974ebfe4309240407102d83174d3729be 100644
--- a/pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart
+++ b/pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart
@@ -133,7 +133,6 @@ class BlockCollector extends StatementVisitor {
_addBlock(whileBlock);
_addStatement(node);
- whileBlock.statements.add(node);
asgerf 2015/09/16 15:25:09 Drive-by bugfix
blocks.last.addEdgeTo(whileBlock);
Block bodyBlock = new Block();

Powered by Google App Engine
This is Rietveld 408576698