| 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.backend; | 5 library js_backend.backend; |
| 6 | 6 |
| 7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
| 8 | 8 |
| 9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 TransformedWorldImpact, | 63 TransformedWorldImpact, |
| 64 WorldImpact, | 64 WorldImpact, |
| 65 WorldImpactVisitor; | 65 WorldImpactVisitor; |
| 66 import '../util/util.dart'; | 66 import '../util/util.dart'; |
| 67 import '../world.dart' show ClassWorld; | 67 import '../world.dart' show ClassWorld; |
| 68 import 'backend_helpers.dart'; | 68 import 'backend_helpers.dart'; |
| 69 import 'backend_impact.dart'; | 69 import 'backend_impact.dart'; |
| 70 import 'backend_serialization.dart' show JavaScriptBackendSerialization; | 70 import 'backend_serialization.dart' show JavaScriptBackendSerialization; |
| 71 import 'checked_mode_helpers.dart'; | 71 import 'checked_mode_helpers.dart'; |
| 72 import 'codegen/task.dart'; | 72 import 'codegen/task.dart'; |
| 73 | |
| 74 import 'constant_handler_javascript.dart'; | 73 import 'constant_handler_javascript.dart'; |
| 75 import 'custom_elements_analysis.dart'; | 74 import 'custom_elements_analysis.dart'; |
| 76 import 'js_interop_analysis.dart' show JsInteropAnalysis; | 75 import 'js_interop_analysis.dart' show JsInteropAnalysis; |
| 77 import 'lookup_map_analysis.dart' show LookupMapAnalysis; | 76 import 'lookup_map_analysis.dart' show LookupMapAnalysis; |
| 78 import 'namer.dart'; | 77 import 'namer.dart'; |
| 79 import 'native_data.dart' show NativeData; | 78 import 'native_data.dart' show NativeData; |
| 80 import 'no_such_method_registry.dart'; | 79 import 'no_such_method_registry.dart'; |
| 81 import 'patch_resolver.dart'; | 80 import 'patch_resolver.dart'; |
| 82 import 'type_variable_handler.dart'; | 81 import 'type_variable_handler.dart'; |
| 83 | 82 |
| (...skipping 3125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3209 | 3208 |
| 3210 @override | 3209 @override |
| 3211 void onImpactUsed(ImpactUseCase impactUse) { | 3210 void onImpactUsed(ImpactUseCase impactUse) { |
| 3212 if (impactUse == DeferredLoadTask.IMPACT_USE && !supportSerialization) { | 3211 if (impactUse == DeferredLoadTask.IMPACT_USE && !supportSerialization) { |
| 3213 // TODO(johnniwinther): Allow emptying when serialization has been | 3212 // TODO(johnniwinther): Allow emptying when serialization has been |
| 3214 // performed. | 3213 // performed. |
| 3215 resolution.emptyCache(); | 3214 resolution.emptyCache(); |
| 3216 } | 3215 } |
| 3217 } | 3216 } |
| 3218 } | 3217 } |
| OLD | NEW |