Index: pkg/compiler/lib/src/common/codegen.dart |
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart |
index 3029a124ae456a0d4858df26139a187d99b5697e..d08c41c27821365c12264a634545bedd2a1252cd 100644 |
--- a/pkg/compiler/lib/src/common/codegen.dart |
+++ b/pkg/compiler/lib/src/common/codegen.dart |
@@ -187,7 +187,6 @@ class CodegenRegistry extends Registry { |
void registerDynamicUse(DynamicUse dynamicUse) { |
worldImpact.registerDynamicUse(dynamicUse); |
- compiler.dumpInfoTask.elementUsesSelector(currentElement, dynamicUse); |
} |
void registerTypeUse(TypeUse typeUse) { |
@@ -263,6 +262,8 @@ class CodegenWorkItem extends WorkItem { |
if (world.isProcessed(element)) return const WorldImpact(); |
registry = new CodegenRegistry(compiler, element); |
- return compiler.codegen(this, world); |
+ var impact = compiler.codegen(this, world); |
+ world.impacts[element] = impact; |
+ return impact; |
} |
} |