Commit e2c11311 authored by yangguo@chromium.org's avatar yangguo@chromium.org

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
parent 97a223e5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment