Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 5b4c55c3a78a252502419ac979cf36dca969e0bc..dfaa7d8589a97649cf0289c345d4d18040a9acfc 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -1310,11 +1310,15 @@ class Heap { |
// Returns whether the object resides in new space. |
inline bool InNewSpace(Object* object); |
- inline bool InNewSpace(Address addr); |
- inline bool InNewSpacePage(Address addr); |
+ inline bool InNewSpace(Address address); |
+ inline bool InNewSpacePage(Address address); |
inline bool InFromSpace(Object* object); |
inline bool InToSpace(Object* object); |
+ // Returns whether the object resides in old pointer space. |
+ inline bool InOldPointerSpace(Address address); |
+ inline bool InOldPointerSpace(Object* object); |
+ |
// Checks whether an address/object in the heap (including auxiliary |
// area and unused area). |
bool Contains(Address addr); |