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
This commit is contained in:
yangguo@chromium.org 2014-04-07 13:40:03 +00:00
parent 97a223e569
commit e2c11311f6

View File

@ -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