Index: pkg/compiler/lib/src/dump_info.dart |
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart |
index d5314b053e02fa9769517e2deba63bef2ff3a47b..6803b0532857c76525207e88b9159770bd69d9e7 100644 |
--- a/pkg/compiler/lib/src/dump_info.dart |
+++ b/pkg/compiler/lib/src/dump_info.dart |
@@ -115,8 +115,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> { |
} |
FieldInfo visitFieldElement(FieldElement element, _) { |
- TypeMask inferredType = |
- compiler.globalInference.getGuaranteedTypeOfElement(element); |
+ TypeMask inferredType = compiler.globalInference.results.typeOf(element); |
// If a field has an empty inferred type it is never used. |
if (inferredType == null || inferredType.isEmpty) return null; |
@@ -257,7 +256,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> { |
signature.forEachParameter((parameter) { |
parameters.add(new ParameterInfo( |
parameter.name, |
- '${compiler.globalInference.getGuaranteedTypeOfElement(parameter)}', |
+ '${compiler.globalInference.results.typeOf(parameter)}', |
'${parameter.node.type}')); |
}); |
} |
@@ -270,7 +269,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> { |
returnType = '${element.type.returnType}'; |
} |
String inferredReturnType = |
- '${compiler.globalInference.getGuaranteedReturnTypeOfElement(element)}'; |
+ '${compiler.globalInference.results.returnTypeOf(element)}'; |
String sideEffects = '${compiler.world.getSideEffectsOfElement(element)}'; |
int inlinedCount = compiler.dumpInfoTask.inlineCount[element]; |