Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index ae3cd0c3e788097d6258094b75262e58ff847769..31ebbb18c8a42bf0399208099e20ac7f910c2d8c 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 == kPretenureMinimumCreated; |
+ return memento_found_count() == kPretenureMinimumCreated; |
} |