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
This commit is contained in:
hpayer@chromium.org 2014-04-29 19:37:56 +00:00
parent e0a3541645
commit 8ecbf17d4f

View File

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