Chromium Code Reviews| Index: src/heap.cc |
| diff --git a/src/heap.cc b/src/heap.cc |
| index b7f9d069d2e85c15ff7d24b6a9ea7b850df20239..381815dad734b9eda932a542d82c55266d30c0b1 100644 |
| --- a/src/heap.cc |
| +++ b/src/heap.cc |
| @@ -7528,6 +7528,7 @@ void Heap::GarbageCollectionGreedyCheck() { |
| ASSERT(FLAG_gc_greedy); |
| if (isolate_->bootstrapper()->IsActive()) return; |
| if (!AllowAllocationFailure::IsAllowed(isolate_)) return; |
| + if (!AllowHeapAllocation::IsAllowed(isolate_)) return; |
| CollectGarbage(NEW_SPACE); |
| } |
| #endif |