mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 750959 - Permit incremental GC on Android (r=terrence)
This commit is contained in:
parent
956ccca99d
commit
1738842702
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user