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

Side by Side Diff: pkg/compiler/lib/src/common/registry.dart

Issue 1880323002: dart2js cleanup: remove unused imports and variables (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge master Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.common.registry; 5 library dart2js.common.registry;
6 6
7 import '../dart_types.dart' show InterfaceType; 7 import '../dart_types.dart' show InterfaceType;
8 import '../elements/elements.dart' show Element;
8 import '../enqueue.dart' show Enqueuer; 9 import '../enqueue.dart' show Enqueuer;
9 import '../elements/elements.dart' show Element, FunctionElement;
10 import '../universe/use.dart' show DynamicUse, StaticUse; 10 import '../universe/use.dart' show DynamicUse, StaticUse;
11 11
12 /// Interface for registration of element dependencies. 12 /// Interface for registration of element dependencies.
13 abstract class Registry { 13 abstract class Registry {
14 // TODO(johnniwinther): Remove this. 14 // TODO(johnniwinther): Remove this.
15 void registerDependency(Element element) {} 15 void registerDependency(Element element) {}
16 16
17 bool get isForResolution; 17 bool get isForResolution;
18 18
19 void registerDynamicUse(DynamicUse staticUse); 19 void registerDynamicUse(DynamicUse staticUse);
(...skipping 22 matching lines...) Expand all
42 world.registerInstantiatedType(type); 42 world.registerInstantiatedType(type);
43 } 43 }
44 44
45 @override 45 @override
46 void registerStaticUse(StaticUse staticUse) { 46 void registerStaticUse(StaticUse staticUse) {
47 world.registerStaticUse(staticUse); 47 world.registerStaticUse(staticUse);
48 } 48 }
49 49
50 String toString() => name; 50 String toString() => name;
51 } 51 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/common/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698