Fix build.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Apr 2014 13:40:03 +0000 (13:40 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Apr 2014 13:40:03 +0000 (13:40 +0000)
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

index 381815d..731e2f3 100644 (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