Bug 750959 - Permit incremental GC on Android (r=terrence)

This commit is contained in:
Bill McCloskey 2012-05-09 15:35:51 -07:00
parent 956ccca99d
commit 1738842702

View File

@ -3538,13 +3538,6 @@ BudgetIncrementalGC(JSRuntime *rt, int64_t *budget)
return;
}
#ifdef ANDROID
JS_ASSERT(rt->gcIncrementalState == NO_INCREMENTAL);
*budget = SliceBudget::Unlimited;
rt->gcStats.nonincremental("Android");
return;
#endif
for (CompartmentsIter c(rt); !c.done(); c.next()) {
if (c->gcBytes > c->gcTriggerBytes) {
*budget = SliceBudget::Unlimited;