Chromium Code Reviews| Index: runtime/vm/flow_graph_allocator.h |
| =================================================================== |
| --- runtime/vm/flow_graph_allocator.h (revision 36262) |
| +++ runtime/vm/flow_graph_allocator.h (working copy) |
| @@ -298,9 +298,10 @@ |
| // ranges that can be affected by future allocation decisions. |
| // Those live ranges that end before the start of the current live range are |
| // removed from the list and will not be affected. |
| - GrowableArray<LiveRange*> registers_[kNumberOfCpuRegisters]; |
| + // The length of both arrays is 'number_of_registers_' |
| + GrowableArray<ZoneGrowableArray<LiveRange*>*> registers_; |
|
hausner
2014/05/16 18:15:12
The array of LiveRange* values was previously not
srdjan
2014/05/16 18:21:03
Yes, because GrowableArray cannot contain another
|
| - bool blocked_registers_[kNumberOfCpuRegisters]; |
| + GrowableArray<bool> blocked_registers_; |
| // Worklist for register allocator. Always maintained sorted according |