| 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 js_backend.backend.impact_transformer; | 5 library js_backend.backend.impact_transformer; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common_elements.dart'; | 8 import '../common_elements.dart'; |
| 9 import '../common/backend_api.dart' show ImpactTransformer; | 9 import '../common/backend_api.dart' show ImpactTransformer; |
| 10 import '../common/codegen.dart' show CodegenImpact; | 10 import '../common/codegen.dart' show CodegenImpact; |
| 11 import '../common/resolution.dart' show ResolutionImpact; | 11 import '../common/resolution.dart' show ResolutionImpact; |
| 12 import '../constants/expressions.dart'; | 12 import '../constants/expressions.dart'; |
| 13 import '../common_elements.dart' show ElementEnvironment; | 13 import '../common_elements.dart' show ElementEnvironment; |
| 14 import '../elements/elements.dart' show AsyncMarker; | |
| 15 import '../elements/entities.dart'; | 14 import '../elements/entities.dart'; |
| 16 import '../elements/resolution_types.dart' show Types; | 15 import '../elements/resolution_types.dart' show Types; |
| 17 import '../elements/types.dart'; | 16 import '../elements/types.dart'; |
| 18 import '../native/enqueue.dart'; | 17 import '../native/enqueue.dart'; |
| 19 import '../native/native.dart' as native; | 18 import '../native/native.dart' as native; |
| 20 import '../options.dart'; | 19 import '../options.dart'; |
| 21 import '../universe/feature.dart'; | 20 import '../universe/feature.dart'; |
| 22 import '../universe/use.dart' | 21 import '../universe/use.dart' |
| 23 show StaticUse, StaticUseKind, TypeUse, TypeUseKind; | 22 show StaticUse, StaticUseKind, TypeUse, TypeUseKind; |
| 24 import '../universe/world_impact.dart' show TransformedWorldImpact, WorldImpact; | 23 import '../universe/world_impact.dart' show TransformedWorldImpact, WorldImpact; |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 _impacts.asyncStarBody | 466 _impacts.asyncStarBody |
| 468 .registerImpact(transformed, _elementEnvironment); | 467 .registerImpact(transformed, _elementEnvironment); |
| 469 break; | 468 break; |
| 470 } | 469 } |
| 471 } | 470 } |
| 472 | 471 |
| 473 // TODO(johnniwinther): Remove eager registration. | 472 // TODO(johnniwinther): Remove eager registration. |
| 474 return transformed; | 473 return transformed; |
| 475 } | 474 } |
| 476 } | 475 } |
| OLD | NEW |