| 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 '../closure.dart'; | 9 import '../closure.dart'; |
| 10 import '../constants/expressions.dart'; | 10 import '../constants/expressions.dart'; |
| 11 import '../constants/values.dart'; | 11 import '../constants/values.dart'; |
| 12 import '../deferred_load.dart' show DeferredLoadTask; | 12 import '../deferred_load.dart' show DeferredLoadTask; |
| 13 import '../dart2jslib.dart' hide Selector, TypedSelector; | 13 import '../dart2jslib.dart' hide Selector, TypedSelector; |
| 14 import '../dart_types.dart'; | 14 import '../dart_types.dart'; |
| 15 import '../elements/elements.dart'; | 15 import '../elements/elements.dart'; |
| 16 import '../elements/modelx.dart' | 16 import '../elements/modelx.dart' |
| 17 show ElementX, | 17 show ElementX, |
| 18 VariableElementX, | 18 VariableElementX, |
| 19 ConstructorBodyElementX; | 19 ConstructorBodyElementX; |
| 20 import '../helpers/helpers.dart'; | 20 import '../helpers/helpers.dart'; |
| 21 import '../js/js.dart' as js; | 21 import '../js/js.dart' as js; |
| 22 import '../js_backend/js_backend.dart'; | 22 import '../js_backend/js_backend.dart'; |
| 23 import '../js_emitter/js_emitter.dart' show CodeEmitterTask; | 23 import '../js_emitter/js_emitter.dart' show CodeEmitterTask; |
| 24 import '../native/native.dart' as native; | 24 import '../native/native.dart' as native; |
| 25 import '../scanner/scannerlib.dart' | 25 import '../scanner/scannerlib.dart' |
| 26 show PartialFunctionElement, Token, PLUS_TOKEN; | 26 show PartialFunctionElement, Token, PLUS_TOKEN; |
| 27 import '../source_file.dart'; | 27 import '../io/source_file.dart'; |
| 28 import '../io/source_map_builder.dart'; | 28 import '../io/source_map_builder.dart'; |
| 29 import '../tree/tree.dart' as ast; | 29 import '../tree/tree.dart' as ast; |
| 30 import '../types/types.dart'; | 30 import '../types/types.dart'; |
| 31 import '../types/constants.dart' show computeTypeMask; | 31 import '../types/constants.dart' show computeTypeMask; |
| 32 import '../universe/universe.dart'; | 32 import '../universe/universe.dart'; |
| 33 import '../util/util.dart'; | 33 import '../util/util.dart'; |
| 34 import '../js_backend/codegen/task.dart'; | 34 import '../js_backend/codegen/task.dart'; |
| 35 | 35 |
| 36 part 'builder.dart'; | 36 part 'builder.dart'; |
| 37 part 'codegen.dart'; | 37 part 'codegen.dart'; |
| 38 part 'codegen_helpers.dart'; | 38 part 'codegen_helpers.dart'; |
| 39 part 'interceptor_simplifier.dart'; | 39 part 'interceptor_simplifier.dart'; |
| 40 part 'invoke_dynamic_specializers.dart'; | 40 part 'invoke_dynamic_specializers.dart'; |
| 41 part 'nodes.dart'; | 41 part 'nodes.dart'; |
| 42 part 'optimize.dart'; | 42 part 'optimize.dart'; |
| 43 part 'types.dart'; | 43 part 'types.dart'; |
| 44 part 'types_propagation.dart'; | 44 part 'types_propagation.dart'; |
| 45 part 'validate.dart'; | 45 part 'validate.dart'; |
| 46 part 'variable_allocator.dart'; | 46 part 'variable_allocator.dart'; |
| 47 part 'value_range_analyzer.dart'; | 47 part 'value_range_analyzer.dart'; |
| 48 part 'value_set.dart'; | 48 part 'value_set.dart'; |
| OLD | NEW |