Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: pkg/compiler/lib/src/ssa/builder_kernel.dart

Issue 2930293002: Parameterize and move JumpTarget/LabelDefition to elements/jumps.dart (Closed)
Patch Set: Fix Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/ssa/codegen.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/ssa/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698