Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: pkg/compiler/lib/src/enqueue.dart

Issue 2685573002: Replace Backend with JavaScriptBackend. (Closed)
Patch Set: Updated cf. comment Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/deferred_load.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/enqueue.dart
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
index 0763e851f9b44ebc23f3fb9fc81d2b20b89d98e3..ef939cdc8b4957c5274f017af95339824837cab7 100644
--- a/pkg/compiler/lib/src/enqueue.dart
+++ b/pkg/compiler/lib/src/enqueue.dart
@@ -6,7 +6,6 @@ library dart2js.enqueue;
import 'dart:collection' show Queue;
-import 'common/backend_api.dart' show Backend;
import 'common/resolution.dart' show Resolution;
import 'common/tasks.dart' show CompilerTask;
import 'common/work.dart' show WorkItem;
@@ -23,6 +22,7 @@ import 'elements/elements.dart'
import 'elements/entities.dart';
import 'elements/resolution_types.dart'
show ResolutionDartType, ResolutionInterfaceType;
+import 'js_backend/backend.dart' show JavaScriptBackend;
import 'native/native.dart' as native;
import 'universe/world_builder.dart';
import 'universe/use.dart'
@@ -118,7 +118,7 @@ class ResolutionEnqueuer extends EnqueuerImpl {
final String name;
final Resolution _resolution;
final CompilerOptions _options;
- final Backend backend;
+ final JavaScriptBackend backend;
final GlobalDependencyRegistry _globalDependencies;
final native.NativeEnqueuer nativeEnqueuer;
@@ -141,7 +141,7 @@ class ResolutionEnqueuer extends EnqueuerImpl {
final Queue<_DeferredAction> _deferredQueue = new Queue<_DeferredAction>();
ResolutionEnqueuer(this.task, this._options, Resolution resolution,
- this.strategy, this._globalDependencies, Backend backend,
+ this.strategy, this._globalDependencies, JavaScriptBackend backend,
[this.name = 'resolution enqueuer'])
: this.backend = backend,
this._resolution = resolution,
« no previous file with comments | « pkg/compiler/lib/src/deferred_load.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698