Index: pkg/compiler/lib/src/js_backend/js_backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/js_backend.dart b/pkg/compiler/lib/src/js_backend/js_backend.dart |
index 2704c0abf984fe7ee510618947d79fc723a7c0a8..ca1351888a201f7a6936019c05172b05d27047a0 100644 |
--- a/pkg/compiler/lib/src/js_backend/js_backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/js_backend.dart |
@@ -12,117 +12,75 @@ import 'package:js_runtime/shared/embedded_names.dart' show JsGetName; |
import '../closure.dart'; |
import '../common.dart'; |
-import '../common/backend_api.dart' show |
- Backend, |
- BackendSerialization, |
- ImpactTransformer, |
- ForeignResolver; |
-import '../common/codegen.dart' show |
- CodegenImpact, |
- CodegenRegistry, |
- CodegenWorkItem; |
-import '../common/names.dart' show |
- Identifiers, |
- Names, |
- Selectors, |
- Uris; |
-import '../common/registry.dart' show |
- EagerRegistry, |
- Registry; |
-import '../common/tasks.dart' show |
- CompilerTask; |
-import '../common/resolution.dart' show |
- Feature, |
- ListLiteralUse, |
- MapLiteralUse, |
- Resolution, |
- ResolutionImpact; |
-import '../common/work.dart' show |
- ItemCompilationContext; |
-import '../compiler.dart' show |
- Compiler; |
+import '../common/backend_api.dart' |
+ show Backend, BackendSerialization, ImpactTransformer, ForeignResolver; |
+import '../common/codegen.dart' |
+ show CodegenImpact, CodegenRegistry, CodegenWorkItem; |
+import '../common/names.dart' show Identifiers, Names, Selectors, Uris; |
+import '../common/registry.dart' show EagerRegistry, Registry; |
+import '../common/tasks.dart' show CompilerTask; |
+import '../common/resolution.dart' |
+ show Feature, ListLiteralUse, MapLiteralUse, Resolution, ResolutionImpact; |
+import '../common/work.dart' show ItemCompilationContext; |
+import '../compiler.dart' show Compiler; |
import '../compile_time_constants.dart'; |
import '../constants/constant_system.dart'; |
import '../constants/expressions.dart'; |
import '../constants/values.dart'; |
-import '../core_types.dart' show |
- CoreClasses, |
- CoreTypes; |
+import '../core_types.dart' show CoreClasses, CoreTypes; |
import '../dart_types.dart'; |
-import '../deferred_load.dart' show |
- DeferredLoadTask; |
-import '../diagnostics/invariant.dart' show |
- DEBUG_MODE; |
-import '../dump_info.dart' show |
- DumpInfoTask; |
+import '../deferred_load.dart' show DeferredLoadTask; |
+import '../diagnostics/invariant.dart' show DEBUG_MODE; |
+import '../dump_info.dart' show DumpInfoTask; |
import '../elements/elements.dart'; |
-import '../elements/visitor.dart' show |
- BaseElementVisitor; |
-import '../enqueue.dart' show |
- Enqueuer, |
- ResolutionEnqueuer; |
+import '../elements/visitor.dart' show BaseElementVisitor; |
+import '../enqueue.dart' show Enqueuer, ResolutionEnqueuer; |
import '../io/code_output.dart'; |
-import '../io/source_information.dart' show |
- SourceInformationStrategy; |
-import '../io/position_information.dart' show |
- PositionSourceInformationStrategy; |
-import '../io/start_end_information.dart' show |
- StartEndSourceInformationStrategy; |
+import '../io/source_information.dart' show SourceInformationStrategy; |
+import '../io/position_information.dart' show PositionSourceInformationStrategy; |
+import '../io/start_end_information.dart' |
+ show StartEndSourceInformationStrategy; |
import '../js/js.dart' as jsAst; |
import '../js/js.dart' show js; |
-import '../js/js_source_mapping.dart' show |
- JavaScriptSourceInformationStrategy; |
+import '../js/js_source_mapping.dart' show JavaScriptSourceInformationStrategy; |
import '../js/rewrite_async.dart'; |
-import '../js_emitter/js_emitter.dart' show |
- CodeEmitterTask, |
- Emitter, |
- MetadataCollector, |
- Placeholder, |
- USE_LAZY_EMITTER; |
+import '../js_emitter/js_emitter.dart' |
+ show |
+ CodeEmitterTask, |
+ Emitter, |
+ MetadataCollector, |
+ Placeholder, |
+ USE_LAZY_EMITTER; |
import '../library_loader.dart' show LibraryLoader, LoadedLibraries; |
import '../native/native.dart' as native; |
-import '../resolution/tree_elements.dart' show |
- TreeElements; |
-import '../ssa/builder.dart' show |
- SsaFunctionCompiler; |
-import '../ssa/nodes.dart' show |
- HTypeConversion, |
- HInstruction; |
-import '../ssa/codegen.dart' show |
- SsaCodeGenerator; |
+import '../resolution/tree_elements.dart' show TreeElements; |
+import '../ssa/builder.dart' show SsaFunctionCompiler; |
+import '../ssa/nodes.dart' show HTypeConversion, HInstruction; |
+import '../ssa/codegen.dart' show SsaCodeGenerator; |
import '../tree/tree.dart'; |
import '../types/types.dart'; |
-import '../universe/call_structure.dart' show |
- CallStructure; |
-import '../universe/selector.dart' show |
- Selector, |
- SelectorKind; |
+import '../universe/call_structure.dart' show CallStructure; |
+import '../universe/selector.dart' show Selector, SelectorKind; |
import '../universe/universe.dart'; |
-import '../universe/use.dart' show |
- DynamicUse, |
- StaticUse, |
- StaticUseKind, |
- TypeUse, |
- TypeUseKind; |
-import '../universe/world_impact.dart' show |
- ImpactStrategy, |
- ImpactUseCase, |
- TransformedWorldImpact, |
- WorldImpact, |
- WorldImpactVisitor; |
+import '../universe/use.dart' |
+ show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind; |
+import '../universe/world_impact.dart' |
+ show |
+ ImpactStrategy, |
+ ImpactUseCase, |
+ TransformedWorldImpact, |
+ WorldImpact, |
+ WorldImpactVisitor; |
import '../util/characters.dart'; |
import '../util/util.dart'; |
-import '../world.dart' show |
- ClassWorld; |
+import '../world.dart' show ClassWorld; |
import 'backend_helpers.dart'; |
import 'backend_impact.dart'; |
-import 'backend_serialization.dart' show |
- JavaScriptBackendSerialization; |
+import 'backend_serialization.dart' show JavaScriptBackendSerialization; |
import 'codegen/task.dart'; |
import 'constant_system_javascript.dart'; |
-import 'native_data.dart' show |
- NativeData; |
+import 'native_data.dart' show NativeData; |
import 'js_interop_analysis.dart' show JsInteropAnalysis; |
import 'lookup_map_analysis.dart' show LookupMapAnalysis; |
import 'patch_resolver.dart'; |