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

Side by Side Diff: runtime/vm/flow_graph_allocator.h

Issue 2388093003: VM: Make optimized try-catch work in DBC. (Closed)
Patch Set: address comments Created 4 years, 2 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 | « runtime/vm/constants_dbc.h ('k') | runtime/vm/flow_graph_allocator.cc » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 #ifndef VM_FLOW_GRAPH_ALLOCATOR_H_ 5 #ifndef VM_FLOW_GRAPH_ALLOCATOR_H_
6 #define VM_FLOW_GRAPH_ALLOCATOR_H_ 6 #define VM_FLOW_GRAPH_ALLOCATOR_H_
7 7
8 #include "vm/flow_graph.h" 8 #include "vm/flow_graph.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 #include "vm/intermediate_language.h" 10 #include "vm/intermediate_language.h"
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // Mark the live range as a live object pointer at all safepoints 241 // Mark the live range as a live object pointer at all safepoints
242 // contained in the range. 242 // contained in the range.
243 void MarkAsObjectAtSafepoints(LiveRange* range); 243 void MarkAsObjectAtSafepoints(LiveRange* range);
244 244
245 MoveOperands* AddMoveAt(intptr_t pos, Location to, Location from); 245 MoveOperands* AddMoveAt(intptr_t pos, Location to, Location from);
246 246
247 Location MakeRegisterLocation(intptr_t reg) { 247 Location MakeRegisterLocation(intptr_t reg) {
248 return Location::MachineRegisterLocation(register_kind_, reg); 248 return Location::MachineRegisterLocation(register_kind_, reg);
249 } 249 }
250 250
251 void SplitInitialDefinitionAt(LiveRange* range, intptr_t pos);
252
251 void PrintLiveRanges(); 253 void PrintLiveRanges();
252 254
253 const FlowGraph& flow_graph_; 255 const FlowGraph& flow_graph_;
254 256
255 ReachingDefs reaching_defs_; 257 ReachingDefs reaching_defs_;
256 258
257 // Representation for SSA values indexed by SSA temp index. 259 // Representation for SSA values indexed by SSA temp index.
258 GrowableArray<Representation> value_representations_; 260 GrowableArray<Representation> value_representations_;
259 261
260 const GrowableArray<BlockEntryInstr*>& block_order_; 262 const GrowableArray<BlockEntryInstr*>& block_order_;
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 678
677 AllocationFinger finger_; 679 AllocationFinger finger_;
678 680
679 DISALLOW_COPY_AND_ASSIGN(LiveRange); 681 DISALLOW_COPY_AND_ASSIGN(LiveRange);
680 }; 682 };
681 683
682 684
683 } // namespace dart 685 } // namespace dart
684 686
685 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_ 687 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_dbc.h ('k') | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698