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

Unified Diff: pkg/compiler/lib/src/resolution/resolution_common.dart

Issue 2000323006: Make CompilerTask independent of compiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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
Index: pkg/compiler/lib/src/resolution/resolution_common.dart
diff --git a/pkg/compiler/lib/src/resolution/resolution_common.dart b/pkg/compiler/lib/src/resolution/resolution_common.dart
index 3cf5dcbe6ec66d2d4bba82e2d1846c8745f81f87..819c2921d84d66de04738cf0f41f29d4901949d9 100644
--- a/pkg/compiler/lib/src/resolution/resolution_common.dart
+++ b/pkg/compiler/lib/src/resolution/resolution_common.dart
@@ -6,7 +6,6 @@ library dart2js.resolution.common;
import '../common.dart';
import '../common/resolution.dart' show Resolution;
-import '../common/tasks.dart' show DeferredAction;
import '../compiler.dart' show Compiler;
import '../elements/elements.dart';
import '../tree/tree.dart';
@@ -34,7 +33,7 @@ class CommonResolverVisitor<R> extends Visitor<R> {
/** Convenience method for visiting nodes that may be null. */
R visit(Node node) => (node == null) ? null : node.accept(this);
- void addDeferredAction(Element element, DeferredAction action) {
+ void addDeferredAction(Element element, void action()) {
compiler.enqueuer.resolution.addDeferredAction(element, action);
}
}

Powered by Google App Engine
This is Rietveld 408576698