Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f98c025ddd3ec0de5ac66198180dd0765406d3cc..d609eb03d6ee15f98bf413cfcc6b0c308e26f0f4 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -8157,11 +8157,9 @@ class AllocationSite: public Struct { |
inline void IncrementMementoCreateCount(); |
- PretenureFlag GetPretenureMode() { |
- int mode = pretenure_decision()->value(); |
- // Zombie objects "decide" to be untenured. |
- return (mode == kTenure) ? TENURED : NOT_TENURED; |
- } |
+ PretenureFlag GetPretenureMode(); |
+ |
+ void ResetPretenureDecision(); |
// The pretenuring decision is made during gc, and the zombie state allows |
// us to recognize when an allocation site is just being kept alive because |
@@ -8277,6 +8275,7 @@ class AllocationMemento: public Struct { |
// Returns NULL if no AllocationMemento is available for object. |
static AllocationMemento* FindForHeapObject(HeapObject* object, |
+ Heap* heap, |
bool in_GC = false); |
static inline AllocationMemento* cast(Object* obj); |