| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 38e7a9f3107cb99e0eaecdb0ccf13181a5d43b92..0ea45296dfb93d6f4ec7e86c76d8084f1854762b 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -833,17 +833,19 @@ class Heap {
|
| void set_native_contexts_list(Object* object) {
|
| native_contexts_list_ = object;
|
| }
|
| - Object* native_contexts_list() { return native_contexts_list_; }
|
| + Object* native_contexts_list() const { return native_contexts_list_; }
|
|
|
| void set_array_buffers_list(Object* object) {
|
| array_buffers_list_ = object;
|
| }
|
| - Object* array_buffers_list() { return array_buffers_list_; }
|
| + Object* array_buffers_list() const { return array_buffers_list_; }
|
|
|
| void set_allocation_sites_list(Object* object) {
|
| allocation_sites_list_ = object;
|
| }
|
| Object* allocation_sites_list() { return allocation_sites_list_; }
|
| +
|
| + // Used in CreateAllocationSiteStub and the (de)serializer.
|
| Object** allocation_sites_list_address() { return &allocation_sites_list_; }
|
|
|
| Object* weak_object_to_code_table() { return weak_object_to_code_table_; }
|
| @@ -936,11 +938,6 @@ class Heap {
|
| return reinterpret_cast<Address*>(&roots_[kStoreBufferTopRootIndex]);
|
| }
|
|
|
| - // Get address of native contexts list for serialization support.
|
| - Object** native_contexts_list_address() {
|
| - return &native_contexts_list_;
|
| - }
|
| -
|
| #ifdef VERIFY_HEAP
|
| // Verify the heap is in its normal state before or after a GC.
|
| void Verify();
|
|
|