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(); |
} |