| Index: src/spaces.h
|
| diff --git a/src/spaces.h b/src/spaces.h
|
| index 6847b31968affb2e846c5f51ed922a6b81b337da..39c19a4e3952f2ee5b2178de25fb7b13bc92ff85 100644
|
| --- a/src/spaces.h
|
| +++ b/src/spaces.h
|
| @@ -1663,6 +1663,10 @@ class PagedSpace : public Space {
|
| Address top() { return allocation_info_.top; }
|
| Address limit() { return allocation_info_.limit; }
|
|
|
| + // The allocation top and limit addresses.
|
| + Address* allocation_top_address() { return &allocation_info_.top; }
|
| + Address* allocation_limit_address() { return &allocation_info_.limit; }
|
| +
|
| // Allocate the requested number of bytes in the space if possible, return a
|
| // failure object if not.
|
| MUST_USE_RESULT inline MaybeObject* AllocateRaw(int size_in_bytes);
|
|
|