| Index: pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart
|
| diff --git a/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart b/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart
|
| index d02e1ac40610a0149f02f98eb5ff512eeaf5c2b7..b1357ee32363017a0d56f90838e95f2cf6b2421c 100644
|
| --- a/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart
|
| +++ b/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart
|
| @@ -43,13 +43,6 @@ class LoopRewriter extends RecursiveVisitor with PassMixin {
|
| }
|
|
|
| Statement visitAssign(Assign node) {
|
| - // Clean up redundant assignments left behind in the previous phase.
|
| - Expression value = node.value;
|
| - if (value is VariableUse && node.variable == value.variable) {
|
| - --node.variable.readCount;
|
| - --node.variable.writeCount;
|
| - return visitStatement(node.next);
|
| - }
|
| visitExpression(node.value);
|
| node.next = visitStatement(node.next);
|
| return node;
|
|
|