Chromium Code Reviews| Index: src/heap.h |
| diff --git a/src/heap.h b/src/heap.h |
| index 2c97fafcbcf55b8288f806e5918ab8b6e44a5486..33298c55b8d27f0c9a00cd00bf0aaf57cd290e1c 100644 |
| --- a/src/heap.h |
| +++ b/src/heap.h |
| @@ -1376,6 +1376,11 @@ class Heap { |
| } |
| Object* array_buffers_list() { return array_buffers_list_; } |
| + void set_allocation_sites_list(Object* object) { |
| + allocation_sites_list_ = object; |
| + } |
| + Object* allocation_sites_list() { return allocation_sites_list_; } |
| + Object** allocation_sites_list_address() { return &allocation_sites_list_; } |
| // Number of mark-sweeps. |
| unsigned int ms_count() { return ms_count_; } |
| @@ -2049,6 +2054,8 @@ class Heap { |
| Object* array_buffers_list_; |
| + Object* allocation_sites_list_; |
|
Michael Starzinger
2013/07/16 18:14:46
nit: Can we group these three fields together (rem
mvstanton
2013/07/16 19:34:57
Done.
|
| + |
| StoreBufferRebuilder store_buffer_rebuilder_; |
| struct StringTypeTable { |
| @@ -2197,6 +2204,7 @@ class Heap { |
| void ProcessNativeContexts(WeakObjectRetainer* retainer, bool record_slots); |
| void ProcessArrayBuffers(WeakObjectRetainer* retainer, bool record_slots); |
| + void ProcessAllocationSites(WeakObjectRetainer* retainer, bool record_slots); |
| // Called on heap tear-down. |
| void TearDownArrayBuffers(); |