OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'package:kernel/ast.dart' as ir; | 5 import 'package:kernel/ast.dart' as ir; |
6 | 6 |
7 import '../closure.dart'; | 7 import '../closure.dart'; |
8 import '../common.dart'; | 8 import '../common.dart'; |
9 import '../common/codegen.dart' show CodegenRegistry; | 9 import '../common/codegen.dart' show CodegenRegistry; |
10 import '../common/names.dart'; | 10 import '../common/names.dart'; |
11 import '../common_elements.dart'; | 11 import '../common_elements.dart'; |
12 import '../compiler.dart'; | 12 import '../compiler.dart'; |
13 import '../constants/values.dart' | 13 import '../constants/values.dart' |
14 show | 14 show |
15 ConstantValue, | 15 ConstantValue, |
16 InterceptorConstantValue, | 16 InterceptorConstantValue, |
17 StringConstantValue, | 17 StringConstantValue, |
18 TypeConstantValue; | 18 TypeConstantValue; |
19 import '../elements/elements.dart'; | 19 import '../elements/elements.dart'; |
20 import '../elements/entities.dart'; | 20 import '../elements/entities.dart'; |
21 import '../elements/jumps.dart'; | 21 import '../elements/jumps.dart'; |
22 import '../elements/resolution_types.dart'; | 22 import '../elements/resolution_types.dart'; |
23 import '../elements/types.dart'; | 23 import '../elements/types.dart'; |
24 import '../io/source_information.dart'; | 24 import '../io/source_information.dart'; |
25 import '../js/js.dart' as js; | 25 import '../js/js.dart' as js; |
26 import '../js_backend/backend.dart' show JavaScriptBackend; | 26 import '../js_backend/backend.dart' show JavaScriptBackend; |
| 27 import '../kernel/closure.dart'; |
27 import '../kernel/element_map.dart'; | 28 import '../kernel/element_map.dart'; |
28 import '../native/native.dart' as native; | 29 import '../native/native.dart' as native; |
29 import '../resolution/tree_elements.dart'; | 30 import '../resolution/tree_elements.dart'; |
30 import '../tree/nodes.dart' show Node; | 31 import '../tree/nodes.dart' show Node; |
31 import '../types/masks.dart'; | 32 import '../types/masks.dart'; |
32 import '../universe/selector.dart'; | 33 import '../universe/selector.dart'; |
33 import '../universe/side_effects.dart' show SideEffects; | 34 import '../universe/side_effects.dart' show SideEffects; |
34 import '../universe/use.dart' show DynamicUse; | 35 import '../universe/use.dart' show DynamicUse; |
35 import '../universe/world_builder.dart' show CodegenWorldBuilder; | 36 import '../universe/world_builder.dart' show CodegenWorldBuilder; |
36 import '../world.dart'; | 37 import '../world.dart'; |
(...skipping 3454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3491 enterBlock.setBlockFlow( | 3492 enterBlock.setBlockFlow( |
3492 new HTryBlockInformation( | 3493 new HTryBlockInformation( |
3493 kernelBuilder.wrapStatementGraph(bodyGraph), | 3494 kernelBuilder.wrapStatementGraph(bodyGraph), |
3494 exception, | 3495 exception, |
3495 kernelBuilder.wrapStatementGraph(catchGraph), | 3496 kernelBuilder.wrapStatementGraph(catchGraph), |
3496 kernelBuilder.wrapStatementGraph(finallyGraph)), | 3497 kernelBuilder.wrapStatementGraph(finallyGraph)), |
3497 exitBlock); | 3498 exitBlock); |
3498 kernelBuilder.inTryStatement = previouslyInTryStatement; | 3499 kernelBuilder.inTryStatement = previouslyInTryStatement; |
3499 } | 3500 } |
3500 } | 3501 } |
OLD | NEW |