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

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

Issue 2569733002: Even less reliance on Compiler.closedWorld (Closed)
Patch Set: Updated cf. comments. Created 4 years 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/codegen_helpers.dart ('k') | pkg/compiler/lib/src/ssa/interceptor_simplifier.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 c35e34fb48e50bcfcb3f7a0d7477c8ea879ae4bf..ed7683a6847d7affb03f56a2baed9648e1c9080c 100644
--- a/pkg/compiler/lib/src/ssa/graph_builder.dart
+++ b/pkg/compiler/lib/src/ssa/graph_builder.dart
@@ -46,6 +46,9 @@ abstract class GraphBuilder {
CommonMasks get commonMasks => closedWorld.commonMasks;
+ GlobalTypeInferenceResults get globalInferenceResults =>
+ compiler.globalInference.results;
+
/// Used to track the locals while building the graph.
LocalsHandler localsHandler;
@@ -198,8 +201,7 @@ abstract class GraphBuilder {
}
HInstruction buildFunctionType(FunctionType type) {
- type.accept(
- new ReifiedTypeRepresentationBuilder(compiler.closedWorld), this);
+ type.accept(new ReifiedTypeRepresentationBuilder(closedWorld), this);
return pop();
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen_helpers.dart ('k') | pkg/compiler/lib/src/ssa/interceptor_simplifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698