| 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 export 'backend.dart'; | 
| 8 import 'dart:collection' show HashMap; | 8 export 'checked_mode_helpers.dart'; | 
| 9 | 9 export 'constant_emitter.dart'; | 
| 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 10 export 'constant_handler_javascript.dart'; | 
| 11 import 'package:js_runtime/shared/embedded_names.dart' show JsGetName; | 11 export 'custom_elements_analysis.dart'; | 
| 12 | 12 export 'namer.dart'; | 
| 13 import '../closure.dart'; | 13 export 'no_such_method_registry.dart'; | 
| 14 import '../common.dart'; | 14 export 'type_variable_handler.dart'; | 
| 15 import '../common/backend_api.dart' |  | 
| 16     show Backend, ImpactTransformer, ForeignResolver, NativeRegistry; |  | 
| 17 import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem; |  | 
| 18 import '../common/names.dart' show Identifiers, Names, Selectors, Uris; |  | 
| 19 import '../common/registry.dart' show EagerRegistry, Registry; |  | 
| 20 import '../common/resolution.dart' |  | 
| 21     show |  | 
| 22         Feature, |  | 
| 23         Frontend, |  | 
| 24         ListLiteralUse, |  | 
| 25         MapLiteralUse, |  | 
| 26         Resolution, |  | 
| 27         ResolutionImpact; |  | 
| 28 import '../common/tasks.dart' show CompilerTask; |  | 
| 29 import '../common/work.dart' show ItemCompilationContext; |  | 
| 30 import '../compile_time_constants.dart'; |  | 
| 31 import '../compiler.dart' show Compiler; |  | 
| 32 import '../constants/constant_system.dart'; |  | 
| 33 import '../constants/expressions.dart'; |  | 
| 34 import '../constants/values.dart'; |  | 
| 35 import '../core_types.dart' show CoreClasses, CoreTypes; |  | 
| 36 import '../dart_types.dart'; |  | 
| 37 import '../deferred_load.dart' show DeferredLoadTask; |  | 
| 38 import '../diagnostics/invariant.dart' show DEBUG_MODE; |  | 
| 39 import '../dump_info.dart' show DumpInfoTask; |  | 
| 40 import '../elements/elements.dart'; |  | 
| 41 import '../elements/visitor.dart' show BaseElementVisitor; |  | 
| 42 import '../enqueue.dart' show Enqueuer, ResolutionEnqueuer; |  | 
| 43 import '../io/code_output.dart'; |  | 
| 44 import '../io/position_information.dart' show PositionSourceInformationStrategy; |  | 
| 45 import '../io/source_information.dart' show SourceInformationStrategy; |  | 
| 46 import '../io/start_end_information.dart' |  | 
| 47     show StartEndSourceInformationStrategy; |  | 
| 48 import '../js/js.dart' as jsAst; |  | 
| 49 import '../js/js.dart' show js; |  | 
| 50 import '../js/js_source_mapping.dart' show JavaScriptSourceInformationStrategy; |  | 
| 51 import '../js/rewrite_async.dart'; |  | 
| 52 import '../js_emitter/js_emitter.dart' |  | 
| 53     show CodeEmitterTask, MetadataCollector, Placeholder; |  | 
| 54 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |  | 
| 55 import '../native/native.dart' as native; |  | 
| 56 import '../resolution/tree_elements.dart' show TreeElements; |  | 
| 57 import '../ssa/builder.dart' show SsaFunctionCompiler; |  | 
| 58 import '../ssa/codegen.dart' show SsaCodeGenerator; |  | 
| 59 import '../ssa/nodes.dart' show HTypeConversion, HInstruction; |  | 
| 60 import '../tree/tree.dart'; |  | 
| 61 import '../types/types.dart'; |  | 
| 62 import '../universe/call_structure.dart' show CallStructure; |  | 
| 63 import '../universe/selector.dart' show Selector, SelectorKind; |  | 
| 64 import '../universe/universe.dart'; |  | 
| 65 import '../universe/use.dart' |  | 
| 66     show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind; |  | 
| 67 import '../universe/world_impact.dart' |  | 
| 68     show |  | 
| 69         ImpactStrategy, |  | 
| 70         ImpactUseCase, |  | 
| 71         TransformedWorldImpact, |  | 
| 72         WorldImpact, |  | 
| 73         WorldImpactVisitor; |  | 
| 74 import '../util/characters.dart'; |  | 
| 75 import '../util/util.dart'; |  | 
| 76 import '../world.dart' show ClassWorld; |  | 
| 77 import 'backend_helpers.dart'; |  | 
| 78 import 'backend_impact.dart'; |  | 
| 79 import 'backend_serialization.dart' show JavaScriptBackendSerialization; |  | 
| 80 import 'codegen/task.dart'; |  | 
| 81 import 'constant_system_javascript.dart'; |  | 
| 82 import 'js_interop_analysis.dart' show JsInteropAnalysis; |  | 
| 83 import 'lookup_map_analysis.dart' show LookupMapAnalysis; |  | 
| 84 import 'native_data.dart' show NativeData; |  | 
| 85 import 'patch_resolver.dart'; |  | 
| 86 |  | 
| 87 part 'backend.dart'; |  | 
| 88 part 'checked_mode_helpers.dart'; |  | 
| 89 part 'constant_emitter.dart'; |  | 
| 90 part 'constant_handler_javascript.dart'; |  | 
| 91 part 'custom_elements_analysis.dart'; |  | 
| 92 part 'field_naming_mixin.dart'; |  | 
| 93 part 'frequency_namer.dart'; |  | 
| 94 part 'minify_namer.dart'; |  | 
| 95 part 'namer.dart'; |  | 
| 96 part 'namer_names.dart'; |  | 
| 97 part 'no_such_method_registry.dart'; |  | 
| 98 part 'runtime_types.dart'; |  | 
| 99 part 'type_variable_handler.dart'; |  | 
| OLD | NEW | 
|---|