Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index bbdefc14a5942122092dd2f82345b4b4d73a2bb6..b4c00788ba2d7b97e95ed1814b127d29ae7d3849 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -8256,8 +8256,8 @@ class AllocationMemento: public Struct { |
DECLARE_VERIFIER(AllocationMemento) |
// Returns NULL if no AllocationMemento is available for object. |
- static AllocationMemento* FindForJSObject(JSObject* object, |
- bool in_GC = false); |
+ static AllocationMemento* FindForHeapObject(HeapObject* object, |
+ bool in_GC = false); |
static inline AllocationMemento* cast(Object* obj); |
private: |