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..f0d91a4e4576f29f96f8b0495b42396d10ec0eaa 100644 |
--- a/pkg/compiler/lib/src/dump_info.dart |
+++ b/pkg/compiler/lib/src/dump_info.dart |
@@ -266,12 +266,13 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> { |
// TODO(sigmund): why all these checks? |
if (element.isInstanceMember && |
!element.isAbstract && |
- compiler.world.allFunctions.contains(element)) { |
+ compiler.closedWorld.allFunctions.contains(element)) { |
returnType = '${element.type.returnType}'; |
} |
String inferredReturnType = |
'${compiler.globalInference.getGuaranteedReturnTypeOfElement(element)}'; |
- String sideEffects = '${compiler.world.getSideEffectsOfElement(element)}'; |
+ String sideEffects = |
+ '${compiler.closedWorld.getSideEffectsOfElement(element)}'; |
int inlinedCount = compiler.dumpInfoTask.inlineCount[element]; |
if (inlinedCount == null) inlinedCount = 0; |
@@ -438,7 +439,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter { |
element, |
impact, |
new WorldImpactVisitorImpl(visitDynamicUse: (dynamicUse) { |
- selections.addAll(compiler.world.allFunctions |
+ selections.addAll(compiler.closedWorld.allFunctions |
.filter(dynamicUse.selector, dynamicUse.mask) |
.map((e) => new Selection(e, dynamicUse.mask))); |
}, visitStaticUse: (staticUse) { |