Index: pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
index 6cd53ec0796b00f0330b53b464dbde6749c76b60..8dc678223826c277a4b3b17f1a2ba49107f2abd6 100644 |
--- a/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
+++ b/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart |
@@ -744,15 +744,17 @@ class GetTypeTestProperty extends Expression { |
visitor.visitGetTypeTestProperty(this, arg); |
} |
- |
/// Read the value of a field, possibly provoking its initializer to evaluate, |
/// or tear off a static method. |
class GetStatic extends Expression { |
Element element; |
SourceInformation sourceInformation; |
+ bool useLazyGetter = false; |
GetStatic(this.element, this.sourceInformation); |
+ GetStatic.lazy(this.element, this.sourceInformation) : useLazyGetter = true; |
+ |
accept(ExpressionVisitor visitor) => visitor.visitGetStatic(this); |
accept1(ExpressionVisitor1 visitor, arg) => visitor.visitGetStatic(this, arg); |
} |