| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index 5a69c65746921f1e3fc05ff49fc0cd1f32b8fb3b..6c9c932f4063c7684f575b37406aa3e262203dd4 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -17,12 +17,13 @@ import 'common.dart';
|
| import 'common/backend_api.dart' show
|
| Backend;
|
| import 'common/codegen.dart' show
|
| - CodegenRegistry,
|
| + CodegenImpact,
|
| CodegenWorkItem;
|
| import 'common/names.dart' show
|
| Identifiers,
|
| Uris;
|
| import 'common/registry.dart' show
|
| + EagerRegistry,
|
| Registry;
|
| import 'common/resolution.dart' show
|
| Parsing,
|
| @@ -2004,7 +2005,7 @@ class _CompilerResolution implements Resolution {
|
| compiler.checker.check(element);
|
| }
|
| WorldImpact worldImpact =
|
| - compiler.backend.resolutionCallbacks.transformImpact(
|
| + compiler.backend.impactTransformer.transformResolutionImpact(
|
| resolutionImpact);
|
| return worldImpact;
|
| });
|
| @@ -2044,11 +2045,16 @@ class _CompilerParsing implements Parsing {
|
| }
|
| }
|
|
|
| -class GlobalDependencyRegistry extends CodegenRegistry {
|
| +class GlobalDependencyRegistry extends EagerRegistry {
|
| + final Compiler compiler;
|
| Setlet<Element> _otherDependencies;
|
|
|
| - GlobalDependencyRegistry(Compiler compiler)
|
| - : super(compiler, new TreeElementMapping(null));
|
| + GlobalDependencyRegistry(this.compiler) : super('GlobalDependencies', null);
|
| +
|
| + // TODO(johnniwinther): Rename world/universe/enqueuer through out the
|
| + // compiler.
|
| + @override
|
| + Enqueuer get world => compiler.enqueuer.codegen;
|
|
|
| void registerDependency(Element element) {
|
| if (element == null) return;
|
|
|