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'; | 9 import 'package:js_runtime/shared/embedded_names.dart'; |
10 | 10 |
11 import '../closure.dart'; | 11 import '../closure.dart'; |
12 import '../common/codegen.dart' show | 12 import '../common/codegen.dart' show |
13 CodegenRegistry, | 13 CodegenRegistry, |
14 CodegenWorkItem; | 14 CodegenWorkItem; |
15 import '../common/tasks.dart' show | 15 import '../common/tasks.dart' show |
16 CompilerTask; | 16 CompilerTask; |
17 import '../compiler.dart' show | 17 import '../compiler.dart' show |
18 Compiler; | 18 Compiler; |
19 import '../constant_system_dart.dart'; | 19 import '../constant_system_dart.dart'; |
20 import '../constants/constant_system.dart'; | 20 import '../constants/constant_system.dart'; |
21 import '../constants/expressions.dart'; | 21 import '../constants/expressions.dart'; |
22 import '../constants/values.dart'; | 22 import '../constants/values.dart'; |
23 import '../dart_types.dart'; | 23 import '../dart_types.dart'; |
24 import '../diagnostics/invariant.dart' show | 24 import '../diagnostics/invariant.dart' show |
25 invariant; | 25 invariant; |
| 26 import '../diagnostics/messages.dart'; |
26 import '../diagnostics/spannable.dart' show | 27 import '../diagnostics/spannable.dart' show |
27 CURRENT_ELEMENT_SPANNABLE, | 28 CURRENT_ELEMENT_SPANNABLE, |
28 Spannable; | 29 Spannable; |
29 import '../elements/elements.dart'; | 30 import '../elements/elements.dart'; |
30 import '../elements/modelx.dart' show | 31 import '../elements/modelx.dart' show |
31 ConstructorBodyElementX, | 32 ConstructorBodyElementX, |
32 ElementX, | 33 ElementX, |
33 VariableElementX; | 34 VariableElementX; |
34 import '../io/source_information.dart'; | 35 import '../io/source_information.dart'; |
35 import '../js/js.dart' as js; | 36 import '../js/js.dart' as js; |
36 import '../js_backend/js_backend.dart'; | 37 import '../js_backend/js_backend.dart'; |
37 import '../js_emitter/js_emitter.dart' show | 38 import '../js_emitter/js_emitter.dart' show |
38 CodeEmitterTask, | 39 CodeEmitterTask, |
39 NativeEmitter; | 40 NativeEmitter; |
40 import '../messages.dart'; | |
41 import '../native/native.dart' as native; | 41 import '../native/native.dart' as native; |
42 import '../resolution/operators.dart'; | 42 import '../resolution/operators.dart'; |
43 import '../resolution/resolution.dart' show | 43 import '../resolution/resolution.dart' show |
44 TreeElements; | 44 TreeElements; |
45 import '../resolution/semantic_visitor.dart'; | 45 import '../resolution/semantic_visitor.dart'; |
46 import '../tree/tree.dart' as ast; | 46 import '../tree/tree.dart' as ast; |
47 import '../types/types.dart'; | 47 import '../types/types.dart'; |
48 import '../types/constants.dart' show | 48 import '../types/constants.dart' show |
49 computeTypeMask; | 49 computeTypeMask; |
50 import '../universe/universe.dart'; | 50 import '../universe/universe.dart'; |
51 import '../util/util.dart'; | 51 import '../util/util.dart'; |
52 import '../world.dart' show | 52 import '../world.dart' show |
53 ClassWorld, | 53 ClassWorld, |
54 World; | 54 World; |
55 | 55 |
56 part 'builder.dart'; | 56 part 'builder.dart'; |
57 part 'codegen.dart'; | 57 part 'codegen.dart'; |
58 part 'codegen_helpers.dart'; | 58 part 'codegen_helpers.dart'; |
59 part 'interceptor_simplifier.dart'; | 59 part 'interceptor_simplifier.dart'; |
60 part 'invoke_dynamic_specializers.dart'; | 60 part 'invoke_dynamic_specializers.dart'; |
61 part 'nodes.dart'; | 61 part 'nodes.dart'; |
62 part 'optimize.dart'; | 62 part 'optimize.dart'; |
63 part 'types.dart'; | 63 part 'types.dart'; |
64 part 'types_propagation.dart'; | 64 part 'types_propagation.dart'; |
65 part 'validate.dart'; | 65 part 'validate.dart'; |
66 part 'variable_allocator.dart'; | 66 part 'variable_allocator.dart'; |
67 part 'value_range_analyzer.dart'; | 67 part 'value_range_analyzer.dart'; |
68 part 'value_set.dart'; | 68 part 'value_set.dart'; |
OLD | NEW |