Index: src/spaces.h |
diff --git a/src/spaces.h b/src/spaces.h |
index 02982cfddcf9d6b20aa9243e9fde82dc7334f8c9..100c7b5b8c7e70cb6adb5998c7245b263712e40f 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); |