Index: pkg/compiler/lib/src/ssa/graph_builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/graph_builder.dart b/pkg/compiler/lib/src/ssa/graph_builder.dart |
index 12f1482481a2f364a52c235432eec30dcdfd2cd8..79379d252102d99eed9889d34777773f41b38e04 100644 |
--- a/pkg/compiler/lib/src/ssa/graph_builder.dart |
+++ b/pkg/compiler/lib/src/ssa/graph_builder.dart |
@@ -7,6 +7,7 @@ import '../constants/constant_system.dart'; |
import '../common/codegen.dart' show CodegenRegistry; |
import '../common_elements.dart'; |
import '../compiler.dart'; |
+import '../deferred_load.dart'; |
import '../diagnostics/diagnostic_listener.dart'; |
import '../elements/elements.dart'; |
import '../elements/entities.dart' show Entity, Local; |
@@ -39,7 +40,7 @@ abstract class GraphBuilder { |
// TODO(het): remove this |
/// A reference to the compiler. |
- Compiler compiler; |
+ Compiler get compiler; |
/// True if the builder is processing nodes inside a try statement. This is |
/// important for generating control flow out of a try block like returns or |
@@ -95,6 +96,10 @@ abstract class GraphBuilder { |
JsInteropAnalysis get jsInteropAnalysis => backend.jsInteropAnalysis; |
+ DeferredLoadTask get deferredLoadTask => compiler.deferredLoadTask; |
+ |
+ Types get types => compiler.types; |
+ |
/// Used to track the locals while building the graph. |
LocalsHandler localsHandler; |