Chromium Code Reviews| Index: pkg/compiler/lib/src/compiler.dart |
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
| index 760604cd9779d9b6f00276a65fea2816ef5eb5b4..ef7f84c18c313bbe360258ac33a7e177fd8ec9f6 100644 |
| --- a/pkg/compiler/lib/src/compiler.dart |
| +++ b/pkg/compiler/lib/src/compiler.dart |
| @@ -8,7 +8,6 @@ import 'dart:async' show EventSink, Future; |
| import '../compiler_new.dart' as api; |
| import 'closure.dart' as closureMapping show ClosureTask; |
| -import 'common/backend_api.dart' show Backend; |
| import 'common/names.dart' show Selectors; |
| import 'common/names.dart' show Identifiers, Uris; |
| import 'common/resolution.dart' |
| @@ -81,7 +80,7 @@ import 'universe/world_impact.dart' |
| import 'util/util.dart' show Link, Setlet; |
| import 'world.dart' show ClosedWorld, ClosedWorldRefiner, ClosedWorldImpl; |
| -typedef Backend MakeBackendFunction(Compiler compiler); |
| +typedef js_backend.JavaScriptBackend MakeBackendFunction(Compiler compiler); |
|
Siggi Cherem (dart-lang)
2017/02/08 00:10:03
we might want to add a todo to remove this, we sho
Johnni Winther
2017/02/08 09:46:35
Done.
|
| typedef CompilerDiagnosticReporter MakeReporterFunction( |
| Compiler compiler, CompilerOptions options); |
| @@ -163,7 +162,7 @@ abstract class Compiler implements LibraryLoaderListener { |
| closureMapping.ClosureTask closureToClassMapper; |
| TypeCheckerTask checker; |
| GlobalTypeInferenceTask globalInference; |
| - Backend backend; |
| + js_backend.JavaScriptBackend backend; |
| GenericTask selfTask; |
| @@ -271,7 +270,7 @@ abstract class Compiler implements LibraryLoaderListener { |
| /// Creates the backend. |
| /// |
| /// Override this to mock the backend for testing. |
| - Backend createBackend() { |
| + js_backend.JavaScriptBackend createBackend() { |
| return new js_backend.JavaScriptBackend(this, |
| generateSourceMap: options.generateSourceMap, |
| useStartupEmitter: options.useStartupEmitter, |