OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.resolution.registry; | 5 library dart2js.resolution.registry; |
6 | 6 |
7 import '../common/backend_api.dart' show | 7 import '../common/backend_api.dart' show |
8 Backend; | 8 Backend; |
9 import '../common/registry.dart' show | 9 import '../common/registry.dart' show |
10 Registry; | 10 Registry; |
11 import '../compiler.dart' show | 11 import '../compiler.dart' show |
12 Compiler; | 12 Compiler; |
13 import '../constants/expressions.dart'; | 13 import '../constants/expressions.dart'; |
14 import '../dart_types.dart'; | 14 import '../dart_types.dart'; |
15 import '../diagnostics/invariant.dart' show | 15 import '../diagnostics/invariant.dart' show |
16 invariant; | 16 invariant; |
17 import '../enqueue.dart' show | 17 import '../enqueue.dart' show |
18 ResolutionEnqueuer, | 18 ResolutionEnqueuer, |
19 WorldImpact; | 19 WorldImpact; |
20 import '../elements/elements.dart'; | 20 import '../elements/elements.dart'; |
21 import '../tree/tree.dart'; | 21 import '../tree/tree.dart'; |
22 import '../util/util.dart' show | 22 import '../util/util.dart' show |
23 Setlet; | 23 Setlet; |
| 24 import '../universe/selector.dart' show |
| 25 Selector; |
24 import '../universe/universe.dart' show | 26 import '../universe/universe.dart' show |
25 CallStructure, | |
26 Selector, | |
27 SelectorKind, | |
28 UniverseSelector; | 27 UniverseSelector; |
29 import '../world.dart' show World; | 28 import '../world.dart' show World; |
30 | 29 |
31 import 'send_structure.dart'; | 30 import 'send_structure.dart'; |
32 | 31 |
33 import 'members.dart' show | 32 import 'members.dart' show |
34 ResolverVisitor; | 33 ResolverVisitor; |
35 import 'tree_elements.dart' show | 34 import 'tree_elements.dart' show |
36 TreeElementMapping; | 35 TreeElementMapping; |
37 | 36 |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 } | 610 } |
612 | 611 |
613 void registerIncDecOperation() { | 612 void registerIncDecOperation() { |
614 backend.resolutionCallbacks.onIncDecOperation(this); | 613 backend.resolutionCallbacks.onIncDecOperation(this); |
615 } | 614 } |
616 | 615 |
617 void registerTryStatement() { | 616 void registerTryStatement() { |
618 mapping.containsTryStatement = true; | 617 mapping.containsTryStatement = true; |
619 } | 618 } |
620 } | 619 } |
OLD | NEW |