| 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 |
| 15 Backend; |
| 16 import '../common/codegen.dart' show |
| 17 CodegenRegistry, |
| 18 CodegenWorkItem; |
| 19 import '../common/registry.dart' show |
| 20 Registry; |
| 21 import '../common/tasks.dart' show |
| 22 CompilerTask; |
| 23 import '../common/resolution.dart' show |
| 24 ResolutionCallbacks; |
| 25 import '../common/work.dart' show |
| 26 ItemCompilationContext; |
| 27 import '../compiler.dart' show |
| 28 Compiler, |
| 29 isPrivateName; |
| 14 import '../compile_time_constants.dart'; | 30 import '../compile_time_constants.dart'; |
| 15 import '../constants/constant_system.dart'; | 31 import '../constants/constant_system.dart'; |
| 16 import '../constants/expressions.dart'; | 32 import '../constants/expressions.dart'; |
| 17 import '../constants/values.dart'; | 33 import '../constants/values.dart'; |
| 18 import '../dart2jslib.dart'; | |
| 19 import '../dart_types.dart'; | 34 import '../dart_types.dart'; |
| 35 import '../diagnostics/invariant.dart' show |
| 36 invariant; |
| 37 import '../diagnostics/spannable.dart' show |
| 38 NO_LOCATION_SPANNABLE, |
| 39 Spannable, |
| 40 SpannableAssertionFailure; |
| 20 import '../elements/elements.dart'; | 41 import '../elements/elements.dart'; |
| 21 import '../elements/visitor.dart' show | 42 import '../elements/visitor.dart' show |
| 22 BaseElementVisitor; | 43 BaseElementVisitor; |
| 23 import '../enqueue.dart' show | 44 import '../enqueue.dart' show |
| 24 Enqueuer, | 45 Enqueuer, |
| 25 ResolutionEnqueuer, | 46 ResolutionEnqueuer, |
| 26 WorldImpact; | 47 WorldImpact; |
| 27 import '../io/code_output.dart'; | 48 import '../io/code_output.dart'; |
| 28 import '../io/source_information.dart' show | 49 import '../io/source_information.dart' show |
| 29 SourceInformationStrategy, | 50 SourceInformationStrategy, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 part 'constant_handler_javascript.dart'; | 91 part 'constant_handler_javascript.dart'; |
| 71 part 'custom_elements_analysis.dart'; | 92 part 'custom_elements_analysis.dart'; |
| 72 part 'frequency_namer.dart'; | 93 part 'frequency_namer.dart'; |
| 73 part 'field_naming_mixin.dart'; | 94 part 'field_naming_mixin.dart'; |
| 74 part 'minify_namer.dart'; | 95 part 'minify_namer.dart'; |
| 75 part 'namer.dart'; | 96 part 'namer.dart'; |
| 76 part 'namer_names.dart'; | 97 part 'namer_names.dart'; |
| 77 part 'no_such_method_registry.dart'; | 98 part 'no_such_method_registry.dart'; |
| 78 part 'runtime_types.dart'; | 99 part 'runtime_types.dart'; |
| 79 part 'type_variable_handler.dart'; | 100 part 'type_variable_handler.dart'; |
| OLD | NEW |