| 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.dart'; |
| 14 import '../common/backend_api.dart' show | 15 import '../common/backend_api.dart' show |
| 15 Backend, | 16 Backend, |
| 16 ForeignResolver; | 17 ForeignResolver; |
| 17 import '../common/codegen.dart' show | 18 import '../common/codegen.dart' show |
| 18 CodegenRegistry, | 19 CodegenRegistry, |
| 19 CodegenWorkItem; | 20 CodegenWorkItem; |
| 20 import '../common/names.dart' show | 21 import '../common/names.dart' show |
| 21 Identifiers, | 22 Identifiers, |
| 22 Selectors, | 23 Selectors, |
| 23 Uris; | 24 Uris; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 35 TransformedWorldImpact; | 36 TransformedWorldImpact; |
| 36 import '../common/work.dart' show | 37 import '../common/work.dart' show |
| 37 ItemCompilationContext; | 38 ItemCompilationContext; |
| 38 import '../compiler.dart' show | 39 import '../compiler.dart' show |
| 39 Compiler; | 40 Compiler; |
| 40 import '../compile_time_constants.dart'; | 41 import '../compile_time_constants.dart'; |
| 41 import '../constants/constant_system.dart'; | 42 import '../constants/constant_system.dart'; |
| 42 import '../constants/expressions.dart'; | 43 import '../constants/expressions.dart'; |
| 43 import '../constants/values.dart'; | 44 import '../constants/values.dart'; |
| 44 import '../dart_types.dart'; | 45 import '../dart_types.dart'; |
| 45 import '../diagnostics/diagnostic_listener.dart' show | |
| 46 DiagnosticMessage, | |
| 47 DiagnosticReporter; | |
| 48 import '../diagnostics/invariant.dart' show | |
| 49 invariant; | |
| 50 import '../diagnostics/messages.dart' show MessageKind; | |
| 51 import '../diagnostics/spannable.dart' show | |
| 52 CURRENT_ELEMENT_SPANNABLE, | |
| 53 NO_LOCATION_SPANNABLE, | |
| 54 Spannable, | |
| 55 SpannableAssertionFailure; | |
| 56 import '../elements/elements.dart'; | 46 import '../elements/elements.dart'; |
| 57 import '../elements/visitor.dart' show | 47 import '../elements/visitor.dart' show |
| 58 BaseElementVisitor; | 48 BaseElementVisitor; |
| 59 import '../enqueue.dart' show | 49 import '../enqueue.dart' show |
| 60 Enqueuer, | 50 Enqueuer, |
| 61 ResolutionEnqueuer, | 51 ResolutionEnqueuer, |
| 62 WorldImpact; | 52 WorldImpact; |
| 63 import '../io/code_output.dart'; | 53 import '../io/code_output.dart'; |
| 64 import '../io/source_information.dart' show | 54 import '../io/source_information.dart' show |
| 65 SourceInformationStrategy, | 55 SourceInformationStrategy, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 part 'constant_handler_javascript.dart'; | 100 part 'constant_handler_javascript.dart'; |
| 111 part 'custom_elements_analysis.dart'; | 101 part 'custom_elements_analysis.dart'; |
| 112 part 'frequency_namer.dart'; | 102 part 'frequency_namer.dart'; |
| 113 part 'field_naming_mixin.dart'; | 103 part 'field_naming_mixin.dart'; |
| 114 part 'minify_namer.dart'; | 104 part 'minify_namer.dart'; |
| 115 part 'namer.dart'; | 105 part 'namer.dart'; |
| 116 part 'namer_names.dart'; | 106 part 'namer_names.dart'; |
| 117 part 'no_such_method_registry.dart'; | 107 part 'no_such_method_registry.dart'; |
| 118 part 'runtime_types.dart'; | 108 part 'runtime_types.dart'; |
| 119 part 'type_variable_handler.dart'; | 109 part 'type_variable_handler.dart'; |
| OLD | NEW |