From e2c11311f6b5f821637c49313d25534c345102ab Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Mon, 7 Apr 2014 13:40:03 +0000 Subject: [PATCH] Fix build. TBR=dcarney@chromium.org Review URL: https://codereview.chromium.org/227653003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20549 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/heap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap.cc b/src/heap.cc index 381815d..731e2f3 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 -- 2.7.4