Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 9bba6dd89b9cfe6e3e3ba0933d6d89b87dfc78ca..cd9d627b39a83e43a1cba90b5ac52f3e48d5f957 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -3033,6 +3033,11 @@ bool LargeObjectSpace::Contains(HeapObject* object) { |
} |
+bool LargeObjectSpace::Contains(Address address) { |
+ return FindPage(address) != NULL; |
+} |
+ |
+ |
#ifdef VERIFY_HEAP |
// We do not assume that the large object iterator works, because it depends |
// on the invariants we are checking during verification. |