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 EventSink, Future; | 7 import 'dart:async' show EventSink, Future; |
8 | 8 |
9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' | 9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' |
10 as embeddedNames; | 10 as embeddedNames; |
11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' | 11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' |
12 show JsGetName; | 12 show JsGetName; |
13 | 13 |
14 import '../closure.dart'; | 14 import '../closure.dart'; |
| 15 import '../compile_time_constants.dart'; |
| 16 import '../constants/constant_system.dart'; |
15 import '../constants/expressions.dart'; | 17 import '../constants/expressions.dart'; |
16 import '../constants/values.dart'; | 18 import '../constants/values.dart'; |
17 import '../dart2jslib.dart'; | 19 import '../dart2jslib.dart'; |
18 import '../dart_types.dart'; | 20 import '../dart_types.dart'; |
19 import '../elements/elements.dart'; | 21 import '../elements/elements.dart'; |
20 import '../io/code_output.dart'; | 22 import '../io/code_output.dart'; |
21 import '../js/js.dart' as jsAst; | 23 import '../js/js.dart' as jsAst; |
22 import '../js/js.dart' show js; | 24 import '../js/js.dart' show js; |
23 import '../js_emitter/js_emitter.dart' | 25 import '../js_emitter/js_emitter.dart' |
24 show Emitter, | 26 show Emitter, |
25 CodeEmitterTask, | 27 CodeEmitterTask, |
26 ClassBuilder, | 28 ClassBuilder, |
27 MetadataCollector, | 29 MetadataCollector, |
28 USE_NEW_EMITTER; | 30 USE_NEW_EMITTER; |
29 | 31 |
30 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 32 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
31 import '../native/native.dart' as native; | 33 import '../native/native.dart' as native; |
32 import '../ssa/ssa.dart'; | 34 import '../ssa/ssa.dart'; |
33 import '../tree/tree.dart'; | 35 import '../tree/tree.dart'; |
34 import '../types/types.dart'; | 36 import '../types/types.dart'; |
35 import '../universe/universe.dart'; | 37 import '../universe/universe.dart'; |
36 import '../util/characters.dart'; | 38 import '../util/characters.dart'; |
37 import '../util/util.dart'; | 39 import '../util/util.dart'; |
38 | 40 |
39 import '../elements/visitor.dart' show | 41 import '../elements/visitor.dart' show |
40 ElementVisitor; | 42 ElementVisitor; |
41 | 43 |
42 import '../js_backend/codegen/task.dart'; | 44 import '../js_backend/codegen/task.dart'; |
| 45 import '../resolution/resolution.dart' show ResolutionRegistry; |
| 46 |
| 47 import 'constant_system_javascript.dart'; |
43 import 'patch_resolver.dart'; | 48 import 'patch_resolver.dart'; |
44 import '../resolution/resolution.dart' show ResolutionRegistry; | |
45 | 49 |
46 part 'backend.dart'; | 50 part 'backend.dart'; |
47 part 'checked_mode_helpers.dart'; | 51 part 'checked_mode_helpers.dart'; |
48 part 'constant_emitter.dart'; | 52 part 'constant_emitter.dart'; |
49 part 'constant_handler_javascript.dart'; | 53 part 'constant_handler_javascript.dart'; |
50 part 'constant_system_javascript.dart'; | |
51 part 'custom_elements_analysis.dart'; | 54 part 'custom_elements_analysis.dart'; |
52 part 'minify_namer.dart'; | 55 part 'minify_namer.dart'; |
53 part 'namer.dart'; | 56 part 'namer.dart'; |
54 part 'no_such_method_registry.dart'; | 57 part 'no_such_method_registry.dart'; |
55 part 'runtime_types.dart'; | 58 part 'runtime_types.dart'; |
56 part 'type_variable_handler.dart'; | 59 part 'type_variable_handler.dart'; |
OLD | NEW |