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 js_backend; | 5 library js_backend; |
6 | 6 |
7 import 'dart:collection' show LinkedHashMap, Queue; | 7 import 'dart:collection' show LinkedHashMap, Queue; |
8 | 8 |
9 import '../closure.dart'; | 9 import '../closure.dart'; |
10 import '../../compiler.dart' as api; | 10 import '../../compiler.dart' as api; |
11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
12 import '../elements/modelx.dart' show FunctionElementX; | 12 import '../elements/modelx.dart' show FunctionElementX; |
13 | 13 |
14 // TODO(ahe): There seems to be a bug in the VM, so we have to hide "js". | 14 // TODO(ahe): There seems to be a bug in the VM, so we have to hide "js". |
15 import '../dart2jslib.dart' hide Selector, TypedSelector, js; | 15 import '../dart2jslib.dart' hide Selector, TypedSelector, js; |
16 import '../dart2js.dart' show BUILD_ID; | |
17 import '../dart_types.dart'; | 16 import '../dart_types.dart'; |
18 import '../js/js.dart' as jsAst; | 17 import '../js/js.dart' as jsAst; |
19 import '../js/js.dart' show js; // TODO(ahe): VM bug, see above. | 18 import '../js/js.dart' show js; // TODO(ahe): VM bug, see above. |
20 import '../native_handler.dart' as native; | 19 import '../native_handler.dart' as native; |
21 import '../source_file.dart'; | 20 import '../source_file.dart'; |
22 import '../source_map_builder.dart'; | 21 import '../source_map_builder.dart'; |
23 import '../ssa/ssa.dart' hide js; // TODO(ahe): VM bug, see above. | 22 import '../ssa/ssa.dart' hide js; // TODO(ahe): VM bug, see above. |
24 import '../tree/tree.dart'; | 23 import '../tree/tree.dart'; |
25 import '../types/types.dart'; | 24 import '../types/types.dart'; |
26 import '../universe/universe.dart' hide js; // TODO(ahe): VM bug, see above. | 25 import '../universe/universe.dart' hide js; // TODO(ahe): VM bug, see above. |
27 import '../util/characters.dart'; | 26 import '../util/characters.dart'; |
28 import '../util/util.dart'; | 27 import '../util/util.dart'; |
29 import '../util/uri_extras.dart' show relativize; | 28 import '../util/uri_extras.dart' show relativize; |
30 | 29 |
31 part 'backend.dart'; | 30 part 'backend.dart'; |
32 part 'constant_emitter.dart'; | 31 part 'constant_emitter.dart'; |
33 part 'constant_system_javascript.dart'; | 32 part 'constant_system_javascript.dart'; |
34 part 'emitter.dart'; | 33 part 'emitter.dart'; |
35 part 'emitter_no_eval.dart'; | 34 part 'emitter_no_eval.dart'; |
36 part 'minify_namer.dart'; | 35 part 'minify_namer.dart'; |
37 part 'namer.dart'; | 36 part 'namer.dart'; |
38 part 'native_emitter.dart'; | 37 part 'native_emitter.dart'; |
39 part 'runtime_types.dart'; | 38 part 'runtime_types.dart'; |
OLD | NEW |