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 import 'dart:collection' show HashMap; | 8 import 'dart:collection' show HashMap; |
9 | 9 |
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
11 import 'package:js_runtime/shared/embedded_names.dart' show JsGetName; | 11 import 'package:js_runtime/shared/embedded_names.dart' show JsGetName; |
12 | 12 |
13 import '../closure.dart'; | 13 import '../closure.dart'; |
14 import '../common/backend_api.dart' show | 14 import '../common/backend_api.dart' show |
15 Backend, | 15 Backend, |
16 ForeignResolver; | 16 ForeignResolver; |
17 import '../common/codegen.dart' show | 17 import '../common/codegen.dart' show |
18 CodegenRegistry, | 18 CodegenRegistry, |
19 CodegenWorkItem; | 19 CodegenWorkItem; |
20 import '../common/names.dart' show | 20 import '../common/names.dart' show |
21 Identifiers, | 21 Identifiers, |
22 Selectors, | 22 Selectors, |
23 Uris; | 23 Uris; |
24 import '../common/registry.dart' show | 24 import '../common/registry.dart' show |
25 Registry; | 25 Registry; |
26 import '../common/tasks.dart' show | 26 import '../common/tasks.dart' show |
27 CompilerTask; | 27 CompilerTask; |
28 import '../common/resolution.dart' show | 28 import '../common/resolution.dart' show |
| 29 Feature, |
| 30 ListLiteralUse, |
| 31 MapLiteralUse, |
29 Resolution, | 32 Resolution, |
30 ResolutionCallbacks; | 33 ResolutionCallbacks, |
| 34 ResolutionWorldImpact, |
| 35 TransformedWorldImpact; |
31 import '../common/work.dart' show | 36 import '../common/work.dart' show |
32 ItemCompilationContext; | 37 ItemCompilationContext; |
33 import '../compiler.dart' show | 38 import '../compiler.dart' show |
34 Compiler; | 39 Compiler; |
35 import '../compile_time_constants.dart'; | 40 import '../compile_time_constants.dart'; |
36 import '../constants/constant_system.dart'; | 41 import '../constants/constant_system.dart'; |
37 import '../constants/expressions.dart'; | 42 import '../constants/expressions.dart'; |
38 import '../constants/values.dart'; | 43 import '../constants/values.dart'; |
39 import '../dart_types.dart'; | 44 import '../dart_types.dart'; |
40 import '../diagnostics/diagnostic_listener.dart' show | 45 import '../diagnostics/diagnostic_listener.dart' show |
(...skipping 29 matching lines...) Expand all Loading... |
70 import '../js/rewrite_async.dart'; | 75 import '../js/rewrite_async.dart'; |
71 import '../js_emitter/js_emitter.dart' show | 76 import '../js_emitter/js_emitter.dart' show |
72 CodeEmitterTask, | 77 CodeEmitterTask, |
73 Emitter, | 78 Emitter, |
74 MetadataCollector, | 79 MetadataCollector, |
75 Placeholder, | 80 Placeholder, |
76 USE_LAZY_EMITTER; | 81 USE_LAZY_EMITTER; |
77 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 82 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
78 import '../native/native.dart' as native; | 83 import '../native/native.dart' as native; |
79 import '../resolution/registry.dart' show | 84 import '../resolution/registry.dart' show |
80 ResolutionRegistry; | 85 EagerRegistry; |
81 import '../resolution/tree_elements.dart' show | 86 import '../resolution/tree_elements.dart' show |
82 TreeElements; | 87 TreeElements; |
83 import '../ssa/ssa.dart'; | 88 import '../ssa/ssa.dart'; |
84 import '../tree/tree.dart'; | 89 import '../tree/tree.dart'; |
85 import '../types/types.dart'; | 90 import '../types/types.dart'; |
86 import '../universe/call_structure.dart' show | 91 import '../universe/call_structure.dart' show |
87 CallStructure; | 92 CallStructure; |
88 import '../universe/selector.dart' show | 93 import '../universe/selector.dart' show |
89 Selector, | 94 Selector, |
90 SelectorKind; | 95 SelectorKind; |
(...skipping 14 matching lines...) Expand all Loading... |
105 part 'constant_handler_javascript.dart'; | 110 part 'constant_handler_javascript.dart'; |
106 part 'custom_elements_analysis.dart'; | 111 part 'custom_elements_analysis.dart'; |
107 part 'frequency_namer.dart'; | 112 part 'frequency_namer.dart'; |
108 part 'field_naming_mixin.dart'; | 113 part 'field_naming_mixin.dart'; |
109 part 'minify_namer.dart'; | 114 part 'minify_namer.dart'; |
110 part 'namer.dart'; | 115 part 'namer.dart'; |
111 part 'namer_names.dart'; | 116 part 'namer_names.dart'; |
112 part 'no_such_method_registry.dart'; | 117 part 'no_such_method_registry.dart'; |
113 part 'runtime_types.dart'; | 118 part 'runtime_types.dart'; |
114 part 'type_variable_handler.dart'; | 119 part 'type_variable_handler.dart'; |
OLD | NEW |