| Index: pkg/compiler/lib/src/js_backend/backend.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
|
| index c4cb6f720cc401d91b4bd8097cd83a144211c5e2..288bc7553351a00159ed1ebd782e9f39e8884c86 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend.dart
|
| @@ -9,8 +9,7 @@ import '../common/backend_api.dart'
|
| show ForeignResolver, NativeRegistry, ImpactTransformer;
|
| import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem;
|
| import '../common/names.dart' show Uris;
|
| -import '../common/resolution.dart'
|
| - show Frontend, Resolution, ResolutionImpact, Target;
|
| +import '../common/resolution.dart' show Resolution, Target;
|
| import '../common/tasks.dart' show CompilerTask;
|
| import '../compiler.dart' show Compiler;
|
| import '../constants/constant_system.dart';
|
| @@ -445,9 +444,6 @@ class JavaScriptBackend {
|
|
|
| BackendImpacts impacts;
|
|
|
| - /// Backend access to the front-end.
|
| - final JSFrontendAccess frontend;
|
| -
|
| Target _target;
|
|
|
| Tracer tracer;
|
| @@ -488,7 +484,6 @@ class JavaScriptBackend {
|
| generateSourceMap: generateSourceMap,
|
| useMultiSourceInfo: useMultiSourceInfo,
|
| useNewSourceInfo: useNewSourceInfo),
|
| - frontend = new JSFrontendAccess(compiler),
|
| constantCompilerTask = new JavaScriptConstantTask(compiler),
|
| _nativeDataResolver = new NativeDataResolverImpl(compiler) {
|
| _target = new JavaScriptBackendTarget(this);
|
| @@ -1349,19 +1344,6 @@ class JavaScriptBackend {
|
| EnqueueTask makeEnqueuer() => new EnqueueTask(compiler);
|
| }
|
|
|
| -class JSFrontendAccess implements Frontend {
|
| - final Compiler compiler;
|
| -
|
| - JSFrontendAccess(this.compiler);
|
| -
|
| - Resolution get resolution => compiler.resolution;
|
| -
|
| - @override
|
| - ResolutionImpact getResolutionImpact(Element element) {
|
| - return resolution.getResolutionImpact(element);
|
| - }
|
| -}
|
| -
|
| class JavaScriptImpactStrategy extends ImpactStrategy {
|
| final Resolution resolution;
|
| final DumpInfoTask dumpInfoTask;
|
|
|