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 world_builder; | 5 library world_builder; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import '../common.dart'; | 9 import '../common.dart'; |
10 import '../common/names.dart' show Identifiers; | 10 import '../common/names.dart' show Identifiers; |
11 import '../common/resolution.dart' show Resolution; | 11 import '../common/resolution.dart' show Resolution; |
12 import '../common_elements.dart'; | 12 import '../common_elements.dart'; |
13 import '../constants/constant_system.dart'; | 13 import '../constants/constant_system.dart'; |
14 import '../constants/values.dart'; | 14 import '../constants/values.dart'; |
15 import '../elements/elements.dart'; | 15 import '../elements/elements.dart'; |
16 import '../elements/entities.dart'; | 16 import '../elements/entities.dart'; |
17 import '../elements/resolution_types.dart'; | 17 import '../elements/resolution_types.dart'; |
18 import '../elements/types.dart'; | 18 import '../elements/types.dart'; |
19 import '../js_backend/backend.dart' show JavaScriptBackend; | 19 import '../js_backend/backend.dart' show JavaScriptBackend; |
20 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; | 20 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; |
21 import '../js_backend/constant_handler_javascript.dart' | 21 import '../js_backend/constant_handler_javascript.dart' |
22 show JavaScriptConstantCompiler; | 22 show JavaScriptConstantCompiler; |
23 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; | 23 import '../js_backend/interceptor_data.dart' show InterceptorDataBuilder; |
24 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; | 24 import '../js_backend/native_data.dart' show NativeBasicData, NativeDataBuilder; |
| 25 import '../js_backend/runtime_types.dart'; |
25 import '../kernel/element_map_impl.dart'; | 26 import '../kernel/element_map_impl.dart'; |
| 27 import '../native/enqueue.dart' show NativeResolutionEnqueuer; |
| 28 import '../options.dart'; |
26 import '../universe/class_set.dart'; | 29 import '../universe/class_set.dart'; |
27 import '../util/enumset.dart'; | 30 import '../util/enumset.dart'; |
28 import '../util/util.dart'; | 31 import '../util/util.dart'; |
29 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; | 32 import '../world.dart' show World, ClosedWorld, ClosedWorldImpl, OpenWorld; |
30 import 'selector.dart' show Selector; | 33 import 'selector.dart' show Selector; |
31 import 'use.dart' | 34 import 'use.dart' |
32 show | 35 show |
33 ConstantUse, | 36 ConstantUse, |
34 ConstantUseKind, | 37 ConstantUseKind, |
35 DynamicUse, | 38 DynamicUse, |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 181 |
179 /// All directly instantiated types, that is, the types of the directly | 182 /// All directly instantiated types, that is, the types of the directly |
180 /// instantiated classes. | 183 /// instantiated classes. |
181 // TODO(johnniwinther): Improve semantic precision. | 184 // TODO(johnniwinther): Improve semantic precision. |
182 Iterable<InterfaceType> get instantiatedTypes; | 185 Iterable<InterfaceType> get instantiatedTypes; |
183 | 186 |
184 /// Registers that [type] is checked in this world builder. The unaliased type | 187 /// Registers that [type] is checked in this world builder. The unaliased type |
185 /// is returned. | 188 /// is returned. |
186 void registerIsCheck(DartType type); | 189 void registerIsCheck(DartType type); |
187 } | 190 } |
OLD | NEW |