OLD | NEW |
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.js.enqueue; | 5 library dart2js.js.enqueue; |
6 | 6 |
7 import 'dart:collection' show Queue; | 7 import 'dart:collection' show Queue; |
8 | 8 |
9 import '../common/backend_api.dart' show Backend; | 9 import '../common/backend_api.dart' show Backend; |
10 import '../common/codegen.dart' show CodegenWorkItem; | 10 import '../common/codegen.dart' show CodegenWorkItem; |
11 import '../common/registry.dart' show Registry; | |
12 import '../common/names.dart' show Identifiers; | 11 import '../common/names.dart' show Identifiers; |
13 import '../common/tasks.dart' show CompilerTask; | 12 import '../common/tasks.dart' show CompilerTask; |
14 import '../common/work.dart' show WorkItem; | 13 import '../common/work.dart' show WorkItem; |
15 import '../common.dart'; | 14 import '../common.dart'; |
16 import '../compiler.dart' show Compiler; | 15 import '../compiler.dart' show Compiler; |
17 import '../dart_types.dart' show DartType, InterfaceType; | 16 import '../dart_types.dart' show DartType, InterfaceType; |
18 import '../elements/elements.dart' | 17 import '../elements/elements.dart' |
19 show | 18 show |
20 ClassElement, | 19 ClassElement, |
21 ConstructorElement, | 20 ConstructorElement, |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 @override | 545 @override |
547 void visitStaticUse(StaticUse staticUse) { | 546 void visitStaticUse(StaticUse staticUse) { |
548 enqueuer.registerStaticUse(staticUse); | 547 enqueuer.registerStaticUse(staticUse); |
549 } | 548 } |
550 | 549 |
551 @override | 550 @override |
552 void visitTypeUse(TypeUse typeUse) { | 551 void visitTypeUse(TypeUse typeUse) { |
553 enqueuer.registerTypeUse(typeUse); | 552 enqueuer.registerTypeUse(typeUse); |
554 } | 553 } |
555 } | 554 } |
OLD | NEW |