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

Unified Diff: pkg/fletchc/lib/src/fletch_enqueuer.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Address ahe's review Created 5 years 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/fletchc/lib/src/fletch_context.dart ('k') | pkg/fletchc/lib/src/fletch_registry.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/fletch_enqueuer.dart
diff --git a/pkg/fletchc/lib/src/fletch_enqueuer.dart b/pkg/fletchc/lib/src/fletch_enqueuer.dart
index 76e65fcaaeba6614ef63add6d3b226b5d0db16e8..d8a68af6bc19feda3665f874301b1165cf2038e2 100644
--- a/pkg/fletchc/lib/src/fletch_enqueuer.dart
+++ b/pkg/fletchc/lib/src/fletch_enqueuer.dart
@@ -69,19 +69,12 @@ import 'fletch_registry.dart' show
FletchRegistry,
FletchRegistry;
-import 'dart:developer';
-import 'package:compiler/src/diagnostics/diagnostic_listener.dart';
-
-import 'package:compiler/src/universe/use.dart' show
- DynamicUse,
- StaticUse;
-
-import 'package:compiler/src/universe/use.dart';
-import 'package:compiler/src/common/work.dart';
-import 'package:compiler/src/common/resolution.dart';
-import 'package:compiler/src/enqueue.dart';
+import 'package:compiler/src/enqueue.dart' show
+ EnqueuerStrategy,
+ ItemCompilationContextCreator;
-part 'enqueuer_mixin.dart';
+import 'enqueuer_mixin.dart' show
+ EnqueuerMixin;
/// True if enqueuing of system libraries should be reported in verbose mode.
const bool logSystemLibraries =
@@ -185,8 +178,8 @@ class FletchEnqueuer extends EnqueuerMixin
}
// TODO(ahe): Remove this method.
- void registerStaticUse(StaticUse staticUse) {
- _enqueueElement(staticUse.element, null, null);
+ void registerStaticInvocation(FunctionElement function) {
+ _enqueueElement(function, null, null);
}
// TODO(ahe): Remove this method.
@@ -241,8 +234,8 @@ class FletchEnqueuer extends EnqueuerMixin
// TODO(ahe): Implement this.
}
- void registerDynamicUse(DynamicUse use) {
- dynamicCallEnqueuer.enqueueSelector(use);
+ void registerDynamicSelector(Selector selector) {
+ dynamicCallEnqueuer.enqueueSelector(selector);
}
void applyImpact(Element element, WorldImpact worldImpact) {
« no previous file with comments | « pkg/fletchc/lib/src/fletch_context.dart ('k') | pkg/fletchc/lib/src/fletch_registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698