Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(929)

Unified Diff: pkg/compiler/lib/src/ssa/graph_builder.dart

Issue 2811593006: Lesser direct Compiler use in SSA (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/kernel_string_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/kernel_string_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698