Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 392c158e1526cb3211497ba1d2c143137db6d60d..5b8149eb8e81ef925fc61bfdb5594855c9ada647 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12733,8 +12733,7 @@ void AllocationSite::ResetPretenureDecision() { |
PretenureFlag AllocationSite::GetPretenureMode() { |
PretenureDecision mode = pretenure_decision(); |
// Zombie objects "decide" to be untenured. |
- return (mode == kTenure && GetHeap()->GetPretenureMode() == TENURED) |
- ? TENURED : NOT_TENURED; |
+ return mode == kTenure ? TENURED : NOT_TENURED; |
} |