From 8ecbf17d4f2960b9a27a4365b70caa432fe46aaf Mon Sep 17 00:00:00 2001 From: "hpayer@chromium.org" Date: Tue, 29 Apr 2014 19:37:56 +0000 Subject: [PATCH] Fix compile. BUG= Review URL: https://codereview.chromium.org/260493003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21068 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/heap.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/heap.cc b/src/heap.cc index f054e2cc98..088afc9502 100644 --- a/src/heap.cc +++ b/src/heap.cc @@ -4477,8 +4477,9 @@ bool Heap::IdleNotification(int hint) { // If the IdleNotifcation is called with a large hint we will wait for // the sweepter threads here. - if (hint >= kMinHintForFullGC && IsConcurrentSweepingInProgress()) { - WaitUntilSweepingCompleted(); + if (hint >= kMinHintForFullGC && + mark_compact_collector()->IsConcurrentSweepingInProgress()) { + mark_compact_collector()->WaitUntilSweepingCompleted(); } return false;