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 ssa; | 5 library ssa; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
| 9 import 'package:js_runtime/shared/embedded_names.dart'; |
| 10 |
9 import '../closure.dart'; | 11 import '../closure.dart'; |
10 import '../constant_system_dart.dart'; | 12 import '../constant_system_dart.dart'; |
11 import '../constants/constant_system.dart'; | 13 import '../constants/constant_system.dart'; |
12 import '../constants/expressions.dart'; | 14 import '../constants/expressions.dart'; |
13 import '../constants/values.dart'; | 15 import '../constants/values.dart'; |
14 import '../dart2jslib.dart' hide Selector, TypedSelector; | 16 import '../dart2jslib.dart' hide Selector, TypedSelector; |
15 import '../dart_types.dart'; | 17 import '../dart_types.dart'; |
16 import '../elements/elements.dart'; | 18 import '../elements/elements.dart'; |
17 import '../elements/modelx.dart' | 19 import '../elements/modelx.dart' |
18 show ElementX, | 20 show ElementX, |
19 VariableElementX, | 21 VariableElementX, |
20 ConstructorBodyElementX; | 22 ConstructorBodyElementX; |
21 | |
22 import '../io/source_information.dart'; | 23 import '../io/source_information.dart'; |
23 import '../js/js.dart' as js; | 24 import '../js/js.dart' as js; |
24 import '../js_backend/js_backend.dart'; | 25 import '../js_backend/js_backend.dart'; |
25 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter; | 26 import '../js_emitter/js_emitter.dart' show |
| 27 CodeEmitterTask, |
| 28 NativeEmitter; |
| 29 import '../messages.dart'; |
26 import '../native/native.dart' as native; | 30 import '../native/native.dart' as native; |
27 import '../resolution/operators.dart'; | 31 import '../resolution/operators.dart'; |
| 32 import '../resolution/resolution.dart' show |
| 33 TreeElements; |
28 import '../resolution/semantic_visitor.dart'; | 34 import '../resolution/semantic_visitor.dart'; |
29 import '../tree/tree.dart' as ast; | 35 import '../tree/tree.dart' as ast; |
30 import '../types/types.dart'; | 36 import '../types/types.dart'; |
31 import '../types/constants.dart' show computeTypeMask; | 37 import '../types/constants.dart' show |
| 38 computeTypeMask; |
32 import '../universe/universe.dart'; | 39 import '../universe/universe.dart'; |
33 import '../util/util.dart'; | 40 import '../util/util.dart'; |
34 import '../js/rewrite_async.dart'; | 41 import '../world.dart' show |
35 import 'package:js_runtime/shared/embedded_names.dart'; | 42 ClassWorld, |
| 43 World; |
36 | 44 |
37 part 'builder.dart'; | 45 part 'builder.dart'; |
38 part 'codegen.dart'; | 46 part 'codegen.dart'; |
39 part 'codegen_helpers.dart'; | 47 part 'codegen_helpers.dart'; |
40 part 'interceptor_simplifier.dart'; | 48 part 'interceptor_simplifier.dart'; |
41 part 'invoke_dynamic_specializers.dart'; | 49 part 'invoke_dynamic_specializers.dart'; |
42 part 'nodes.dart'; | 50 part 'nodes.dart'; |
43 part 'optimize.dart'; | 51 part 'optimize.dart'; |
44 part 'types.dart'; | 52 part 'types.dart'; |
45 part 'types_propagation.dart'; | 53 part 'types_propagation.dart'; |
46 part 'validate.dart'; | 54 part 'validate.dart'; |
47 part 'variable_allocator.dart'; | 55 part 'variable_allocator.dart'; |
48 part 'value_range_analyzer.dart'; | 56 part 'value_range_analyzer.dart'; |
49 part 'value_set.dart'; | 57 part 'value_set.dart'; |
OLD | NEW |