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