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

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

Issue 2898983005: Add ClosureClassMaps super interface for ClosureTask (Closed)
Patch Set: Updated cf. comments 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/rasta_ssa_builder_task.dart ('k') | no next file » | 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 '../common.dart'; 5 import '../common.dart';
6 import '../io/source_information.dart'; 6 import '../io/source_information.dart';
7 import '../tree/tree.dart' as ast;
8 7
9 import 'graph_builder.dart'; 8 import 'graph_builder.dart';
10 import 'locals_handler.dart'; 9 import 'locals_handler.dart';
11 import 'nodes.dart'; 10 import 'nodes.dart';
12 11
13 class SsaBranch { 12 class SsaBranch {
14 final SsaBranchBuilder branchBuilder; 13 final SsaBranchBuilder branchBuilder;
15 final HBasicBlock block; 14 final HBasicBlock block;
16 LocalsHandler startLocals; 15 LocalsHandler startLocals;
17 LocalsHandler exitLocals; 16 LocalsHandler exitLocals;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 new HSubGraphBlockInformation(elseBranch.graph)); 218 new HSubGraphBlockInformation(elseBranch.graph));
220 219
221 HBasicBlock conditionStartBlock = conditionBranch.block; 220 HBasicBlock conditionStartBlock = conditionBranch.block;
222 conditionStartBlock.setBlockFlow(info, joinBlock); 221 conditionStartBlock.setBlockFlow(info, joinBlock);
223 SubGraph conditionGraph = conditionBranch.graph; 222 SubGraph conditionGraph = conditionBranch.graph;
224 HIf branch = conditionGraph.end.last; 223 HIf branch = conditionGraph.end.last;
225 assert(branch is HIf); 224 assert(branch is HIf);
226 branch.blockInformation = conditionStartBlock.blockFlow; 225 branch.blockInformation = conditionStartBlock.blockFlow;
227 } 226 }
228 } 227 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698