R=mstarzinger@chromium.org
BUG=v8:1715
Review URL: http://codereview.chromium.org/8038045
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9467
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
// Make sure that we have no pending context disposals and
// conditionally uncommit from space.
- ASSERT((contexts_disposed_ == 0) || incremental_marking()->IsMarking());
+ // Take into account that we might have decided to delay full collection
+ // because incremental marking is in progress.
+ ASSERT((contexts_disposed_ == 0) || !incremental_marking()->IsStopped());
if (uncommit) UncommitFromSpace();
+
return finished;
}