Index: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
index e6b8c34597602dc4b2cc88c901b214dc7c930ef8..4a1fa6e71c95dacff2e94b743f09f05624dcc4d7 100644 |
--- a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
+++ b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart |
@@ -664,9 +664,7 @@ class Builder implements cps_ir.Visitor/*<NodeCallback|Node>*/ { |
}; |
Expression visitGetLazyStatic(cps_ir.GetLazyStatic node) { |
- // In the tree IR, GetStatic handles lazy fields because we do not need |
- // as fine-grained control over side effects. |
- return new GetStatic(node.element, node.sourceInformation); |
+ return new GetStatic.lazy(node.element, node.sourceInformation); |
} |
@override |