| Index: pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart
|
| diff --git a/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart b/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart
|
| index 27305149f664ee4d896eb843da59b602e064f0fa..3b3a74ae874fa04db860bb1af99cac927d353327 100644
|
| --- a/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart
|
| +++ b/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart
|
| @@ -259,6 +259,12 @@ class PullIntoInitializers extends RecursiveTransformer
|
| return node;
|
| }
|
|
|
| + Expression visitOneShotInterceptor(OneShotInterceptor node) {
|
| + super.visitOneShotInterceptor(node);
|
| + ++impureCounter;
|
| + return node;
|
| + }
|
| +
|
| Expression visitConditional(Conditional node) {
|
| node.condition = visitExpression(node.condition);
|
| // Visit the branches to detect impure subexpressions, but do not pull
|
|
|