Bug 821371, part 3: Remove bogus asserts. r=bustage

This commit is contained in:
Andrew McCreight 2012-12-31 17:03:54 -05:00
parent a04090979d
commit bab924e634

View File

@ -3342,7 +3342,6 @@ CCTimerFired(nsITimer *aTimer, void *aClosure)
if (ShouldTriggerCC(nsCycleCollector_suspectedCount())) { if (ShouldTriggerCC(nsCycleCollector_suspectedCount())) {
// Our efforts to avoid a CC have failed, so we return to let the // Our efforts to avoid a CC have failed, so we return to let the
// timer fire once more to trigger a CC. // timer fire once more to trigger a CC.
MOZ_ASSERT(!sCCLockedOut);
return; return;
} }
} else { } else {
@ -3356,10 +3355,6 @@ CCTimerFired(nsITimer *aTimer, void *aClosure)
FireForgetSkippable(suspected, false); FireForgetSkippable(suspected, false);
} }
// If we were in the middle of an incremental GC, we should have finished
// it by now.
MOZ_ASSERT(!sCCLockedOut);
if (isLateTimerFire) { if (isLateTimerFire) {
ccDelay = NS_CC_DELAY; ccDelay = NS_CC_DELAY;