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