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/resolution_types.dart'; | 22 import '../elements/resolution_types.dart'; |
22 import '../elements/types.dart'; | 23 import '../elements/types.dart'; |
23 import '../io/source_information.dart'; | 24 import '../io/source_information.dart'; |
24 import '../js/js.dart' as js; | 25 import '../js/js.dart' as js; |
25 import '../js_backend/backend.dart' show JavaScriptBackend; | 26 import '../js_backend/backend.dart' show JavaScriptBackend; |
26 import '../kernel/element_map.dart'; | 27 import '../kernel/element_map.dart'; |
27 import '../native/native.dart' as native; | 28 import '../native/native.dart' as native; |
28 import '../resolution/tree_elements.dart'; | 29 import '../resolution/tree_elements.dart'; |
29 import '../tree/nodes.dart' show Node; | 30 import '../tree/nodes.dart' show Node; |
30 import '../types/masks.dart'; | 31 import '../types/masks.dart'; |
(...skipping 3408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3439 enterBlock.setBlockFlow( | 3440 enterBlock.setBlockFlow( |
3440 new HTryBlockInformation( | 3441 new HTryBlockInformation( |
3441 kernelBuilder.wrapStatementGraph(bodyGraph), | 3442 kernelBuilder.wrapStatementGraph(bodyGraph), |
3442 exception, | 3443 exception, |
3443 kernelBuilder.wrapStatementGraph(catchGraph), | 3444 kernelBuilder.wrapStatementGraph(catchGraph), |
3444 kernelBuilder.wrapStatementGraph(finallyGraph)), | 3445 kernelBuilder.wrapStatementGraph(finallyGraph)), |
3445 exitBlock); | 3446 exitBlock); |
3446 kernelBuilder.inTryStatement = previouslyInTryStatement; | 3447 kernelBuilder.inTryStatement = previouslyInTryStatement; |
3447 } | 3448 } |
3448 } | 3449 } |
OLD | NEW |