Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 8f5bf16666261fdc1ab10441efb3f7e932cf5c00..fc91dd5ee751f266d14a7861fd765afad54df49e 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -3100,8 +3100,7 @@ AllocationResult LargeObjectSpace::AllocateRaw(int object_size, |
Executability executable) { |
// Check if we want to force a GC before growing the old space further. |
// If so, fail the allocation. |
- if (!heap()->always_allocate() && |
- !heap()->CanExpandOldGeneration(object_size)) { |
+ if (!heap()->CanExpandOldGeneration(object_size)) { |
return AllocationResult::Retry(identity()); |
} |