| 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) {
|
|
|