diff --git a/src/objects-inl.h b/src/objects-inl.h index 1a59dcc1a2..0e0c808f2f 100644 --- a/src/objects-inl.h +++ b/src/objects-inl.h @@ -1566,7 +1566,7 @@ inline bool AllocationSite::IncrementMementoFoundCount() { int value = memento_found_count(); set_memento_found_count(value + 1); - return value == 0; + return value == kPretenureMinimumCreated; }