Index: src/spaces.h |
diff --git a/src/spaces.h b/src/spaces.h |
index 5b9a4e4de883358750ed6cf11f2dbe368d607c33..1ccdacbc02e32eecd93c72a96d5edaf4a8d868dd 100644 |
--- a/src/spaces.h |
+++ b/src/spaces.h |
@@ -307,7 +307,7 @@ class MemoryChunk { |
} |
// Only works for addresses in pointer spaces, not data or code spaces. |
- static inline MemoryChunk* FromAnyPointerAddress(Address addr); |
+ static inline MemoryChunk* FromAnyPointerAddress(Heap* heap, Address addr); |
Address address() { return reinterpret_cast<Address>(this); } |