| 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, | |
| 32 Resolution, | 29 Resolution, |
| 33 ResolutionCallbacks, | 30 ResolutionCallbacks; |
| 34 ResolutionWorldImpact, | |
| 35 TransformedWorldImpact; | |
| 36 import '../common/work.dart' show | 31 import '../common/work.dart' show |
| 37 ItemCompilationContext; | 32 ItemCompilationContext; |
| 38 import '../compiler.dart' show | 33 import '../compiler.dart' show |
| 39 Compiler; | 34 Compiler; |
| 40 import '../compile_time_constants.dart'; | 35 import '../compile_time_constants.dart'; |
| 41 import '../constants/constant_system.dart'; | 36 import '../constants/constant_system.dart'; |
| 42 import '../constants/expressions.dart'; | 37 import '../constants/expressions.dart'; |
| 43 import '../constants/values.dart'; | 38 import '../constants/values.dart'; |
| 44 import '../dart_types.dart'; | 39 import '../dart_types.dart'; |
| 45 import '../diagnostics/diagnostic_listener.dart' show | 40 import '../diagnostics/diagnostic_listener.dart' show |
| (...skipping 29 matching lines...) Expand all Loading... |
| 75 import '../js/rewrite_async.dart'; | 70 import '../js/rewrite_async.dart'; |
| 76 import '../js_emitter/js_emitter.dart' show | 71 import '../js_emitter/js_emitter.dart' show |
| 77 CodeEmitterTask, | 72 CodeEmitterTask, |
| 78 Emitter, | 73 Emitter, |
| 79 MetadataCollector, | 74 MetadataCollector, |
| 80 Placeholder, | 75 Placeholder, |
| 81 USE_LAZY_EMITTER; | 76 USE_LAZY_EMITTER; |
| 82 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; | 77 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
| 83 import '../native/native.dart' as native; | 78 import '../native/native.dart' as native; |
| 84 import '../resolution/registry.dart' show | 79 import '../resolution/registry.dart' show |
| 85 EagerRegistry; | 80 ResolutionRegistry; |
| 86 import '../resolution/tree_elements.dart' show | 81 import '../resolution/tree_elements.dart' show |
| 87 TreeElements; | 82 TreeElements; |
| 88 import '../ssa/ssa.dart'; | 83 import '../ssa/ssa.dart'; |
| 89 import '../tree/tree.dart'; | 84 import '../tree/tree.dart'; |
| 90 import '../types/types.dart'; | 85 import '../types/types.dart'; |
| 91 import '../universe/call_structure.dart' show | 86 import '../universe/call_structure.dart' show |
| 92 CallStructure; | 87 CallStructure; |
| 93 import '../universe/selector.dart' show | 88 import '../universe/selector.dart' show |
| 94 Selector, | 89 Selector, |
| 95 SelectorKind; | 90 SelectorKind; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 110 part 'constant_handler_javascript.dart'; | 105 part 'constant_handler_javascript.dart'; |
| 111 part 'custom_elements_analysis.dart'; | 106 part 'custom_elements_analysis.dart'; |
| 112 part 'frequency_namer.dart'; | 107 part 'frequency_namer.dart'; |
| 113 part 'field_naming_mixin.dart'; | 108 part 'field_naming_mixin.dart'; |
| 114 part 'minify_namer.dart'; | 109 part 'minify_namer.dart'; |
| 115 part 'namer.dart'; | 110 part 'namer.dart'; |
| 116 part 'namer_names.dart'; | 111 part 'namer_names.dart'; |
| 117 part 'no_such_method_registry.dart'; | 112 part 'no_such_method_registry.dart'; |
| 118 part 'runtime_types.dart'; | 113 part 'runtime_types.dart'; |
| 119 part 'type_variable_handler.dart'; | 114 part 'type_variable_handler.dart'; |
| OLD | NEW |