| 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 7e9b40fa95347261885d831d8ba543b3ab55f124..37c9855a3f4c3aed788848be2f579e5cdffba8e1 100644
|
| --- a/pkg/compiler/lib/src/common/codegen.dart
|
| +++ b/pkg/compiler/lib/src/common/codegen.dart
|
| @@ -28,8 +28,7 @@ import '../universe/use.dart' show
|
| TypeUse;
|
| import '../universe/world_impact.dart' show
|
| WorldImpact,
|
| - WorldImpactBuilder,
|
| - WorldImpactVisitor;
|
| + WorldImpactBuilder;
|
| import '../util/util.dart' show
|
| Pair,
|
| Setlet;
|
| @@ -79,12 +78,6 @@ class _CodegenImpact extends WorldImpactBuilder implements CodegenImpact {
|
|
|
| _CodegenImpact(this.registry);
|
|
|
| - void apply(WorldImpactVisitor visitor) {
|
| - staticUses.forEach(visitor.visitStaticUse);
|
| - dynamicUses.forEach(visitor.visitDynamicUse);
|
| - typeUses.forEach(visitor.visitTypeUse);
|
| - }
|
| -
|
| void registerCompileTimeConstant(ConstantValue constant) {
|
| if (_compileTimeConstants == null) {
|
| _compileTimeConstants = new Setlet<ConstantValue>();
|
| @@ -269,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;
|
| }
|
| }
|
|
|