| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 dart2js.kernel.frontend_strategy; | 5 library dart2js.kernel.frontend_strategy; |
| 6 | 6 |
| 7 import '../closure.dart'; | 7 import '../closure.dart'; |
| 8 import '../backend_strategy.dart'; | 8 import '../backend_strategy.dart'; |
| 9 import '../common.dart'; | 9 import '../common.dart'; |
| 10 import '../common_elements.dart'; | 10 import '../common_elements.dart'; |
| 11 import '../common/backend_api.dart'; | 11 import '../common/backend_api.dart'; |
| 12 import '../common/resolution.dart'; | 12 import '../common/resolution.dart'; |
| 13 import '../common/tasks.dart'; | 13 import '../common/tasks.dart'; |
| 14 import '../common/work.dart'; | 14 import '../common/work.dart'; |
| 15 import '../elements/elements.dart'; | 15 import '../elements/elements.dart'; |
| 16 import '../elements/entities.dart'; | 16 import '../elements/entities.dart'; |
| 17 import '../elements/types.dart'; | 17 import '../elements/types.dart'; |
| 18 import '../environment.dart' as env; | 18 import '../environment.dart' as env; |
| 19 import '../enqueue.dart'; | 19 import '../enqueue.dart'; |
| 20 import '../frontend_strategy.dart'; | 20 import '../frontend_strategy.dart'; |
| 21 import '../js_backend/backend.dart'; | 21 import '../js_backend/backend.dart'; |
| 22 import '../js_backend/backend_usage.dart'; | 22 import '../js_backend/backend_usage.dart'; |
| 23 import '../js_backend/custom_elements_analysis.dart'; | 23 import '../js_backend/custom_elements_analysis.dart'; |
| 24 import '../js_backend/interceptor_data.dart'; | 24 import '../js_backend/interceptor_data.dart'; |
| 25 import '../js_backend/mirrors_analysis.dart'; | 25 import '../js_backend/mirrors_analysis.dart'; |
| 26 import '../js_backend/mirrors_data.dart'; | 26 import '../js_backend/mirrors_data.dart'; |
| 27 import '../js_backend/native_data.dart'; | 27 import '../js_backend/native_data.dart'; |
| 28 import '../js_backend/no_such_method_registry.dart'; | 28 import '../js_backend/no_such_method_registry.dart'; |
| 29 import '../js_backend/runtime_types.dart'; |
| 29 import '../js_emitter/sorter.dart'; | 30 import '../js_emitter/sorter.dart'; |
| 30 import '../library_loader.dart'; | 31 import '../library_loader.dart'; |
| 31 import '../native/resolver.dart'; | 32 import '../native/resolver.dart'; |
| 32 import '../serialization/task.dart'; | 33 import '../serialization/task.dart'; |
| 33 import '../patch_parser.dart'; | 34 import '../patch_parser.dart'; |
| 34 import '../resolved_uri_translator.dart'; | 35 import '../resolved_uri_translator.dart'; |
| 35 import '../universe/world_builder.dart'; | 36 import '../universe/world_builder.dart'; |
| 36 import '../universe/world_impact.dart'; | 37 import '../universe/world_impact.dart'; |
| 37 import '../world.dart'; | 38 import '../world.dart'; |
| 38 import 'element_map_impl.dart'; | 39 import 'element_map_impl.dart'; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 Sorter get sorter => | 238 Sorter get sorter => |
| 238 throw new UnimplementedError('KernelBackendStrategy.sorter'); | 239 throw new UnimplementedError('KernelBackendStrategy.sorter'); |
| 239 | 240 |
| 240 @override | 241 @override |
| 241 void convertClosures(ClosedWorldRefiner closedWorldRefiner) { | 242 void convertClosures(ClosedWorldRefiner closedWorldRefiner) { |
| 242 // TODO(johnniwinther,efortuna): Compute closure classes for kernel based | 243 // TODO(johnniwinther,efortuna): Compute closure classes for kernel based |
| 243 // elements. | 244 // elements. |
| 244 throw new UnimplementedError('KernelBackendStrategy.createClosureClasses'); | 245 throw new UnimplementedError('KernelBackendStrategy.createClosureClasses'); |
| 245 } | 246 } |
| 246 } | 247 } |
| OLD | NEW |