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

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

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, 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/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 10
11 namespace dart { 11 namespace dart {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // SSA values. 268 // SSA values.
269 const intptr_t vreg_count_; 269 const intptr_t vreg_count_;
270 270
271 // LiveRanges corresponding to SSA values. 271 // LiveRanges corresponding to SSA values.
272 GrowableArray<LiveRange*> live_ranges_; 272 GrowableArray<LiveRange*> live_ranges_;
273 273
274 GrowableArray<LiveRange*> unallocated_cpu_; 274 GrowableArray<LiveRange*> unallocated_cpu_;
275 GrowableArray<LiveRange*> unallocated_xmm_; 275 GrowableArray<LiveRange*> unallocated_xmm_;
276 276
277 LiveRange* cpu_regs_[kNumberOfCpuRegisters]; 277 LiveRange* cpu_regs_[kNumberOfCpuRegisters];
278 LiveRange* xmm_regs_[kNumberOfXmmRegisters]; 278 LiveRange* fpu_regs_[kNumberOfFpuRegisters];
279 279
280 bool blocked_cpu_registers_[kNumberOfCpuRegisters]; 280 bool blocked_cpu_registers_[kNumberOfCpuRegisters];
281 bool blocked_xmm_registers_[kNumberOfXmmRegisters]; 281 bool blocked_fpu_registers_[kNumberOfFpuRegisters];
282 282
283 #if defined(DEBUG) 283 #if defined(DEBUG)
284 GrowableArray<LiveRange*> temporaries_; 284 GrowableArray<LiveRange*> temporaries_;
285 #endif 285 #endif
286 286
287 // List of spilled live ranges. 287 // List of spilled live ranges.
288 GrowableArray<LiveRange*> spilled_; 288 GrowableArray<LiveRange*> spilled_;
289 289
290 // List of instructions containing calls. 290 // List of instructions containing calls.
291 GrowableArray<Instruction*> safepoints_; 291 GrowableArray<Instruction*> safepoints_;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 657
658 AllocationFinger finger_; 658 AllocationFinger finger_;
659 659
660 DISALLOW_COPY_AND_ASSIGN(LiveRange); 660 DISALLOW_COPY_AND_ASSIGN(LiveRange);
661 }; 661 };
662 662
663 663
664 } // namespace dart 664 } // namespace dart
665 665
666 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_ 666 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698