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

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

Issue 1992963002: Enable optimizer pipeline for DBC. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // List of spilled live ranges. 291 // List of spilled live ranges.
292 GrowableArray<LiveRange*> spilled_; 292 GrowableArray<LiveRange*> spilled_;
293 293
294 // List of instructions containing calls. 294 // List of instructions containing calls.
295 GrowableArray<Instruction*> safepoints_; 295 GrowableArray<Instruction*> safepoints_;
296 296
297 Location::Kind register_kind_; 297 Location::Kind register_kind_;
298 298
299 intptr_t number_of_registers_; 299 intptr_t number_of_registers_;
300 300
301 #if defined(TARGET_ARCH_DBC)
302 intptr_t last_used_register_;
303 #endif
304
301 // Per register lists of allocated live ranges. Contain only those 305 // Per register lists of allocated live ranges. Contain only those
302 // ranges that can be affected by future allocation decisions. 306 // ranges that can be affected by future allocation decisions.
303 // Those live ranges that end before the start of the current live range are 307 // Those live ranges that end before the start of the current live range are
304 // removed from the list and will not be affected. 308 // removed from the list and will not be affected.
305 // The length of both arrays is 'number_of_registers_' 309 // The length of both arrays is 'number_of_registers_'
306 GrowableArray<ZoneGrowableArray<LiveRange*>*> registers_; 310 GrowableArray<ZoneGrowableArray<LiveRange*>*> registers_;
307 311
308 GrowableArray<bool> blocked_registers_; 312 GrowableArray<bool> blocked_registers_;
309 313
310 314
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 676
673 AllocationFinger finger_; 677 AllocationFinger finger_;
674 678
675 DISALLOW_COPY_AND_ASSIGN(LiveRange); 679 DISALLOW_COPY_AND_ASSIGN(LiveRange);
676 }; 680 };
677 681
678 682
679 } // namespace dart 683 } // namespace dart
680 684
681 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_ 685 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698