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..37c9855a3f4c3aed788848be2f579e5cdffba8e1 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); |
+ compiler.dumpInfoTask.registerImpact(element, impact); |
+ return impact; |
} |
} |