Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index de0b0af5c2fb144b155adb0f074d00b2bd7bee73..60d81a9a9f4780b071edb4762224e812ca6ec9d7 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -1865,7 +1865,6 @@ int MarkCompactCollector::DiscoverAndEvacuateBlackObjectsOnPage( |
TryPromoteObject(object, size)) { |
continue; |
} |
- heap()->set_promotion_failure(true); |
AllocationResult allocation = new_space->AllocateRaw(size); |
if (allocation.IsRetry()) { |