summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/src/jsgc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
index 45301dac8..fb10797d5 100644
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -2276,7 +2276,7 @@ GCRuntime::updateCellPointers(MovingTracer* trc, Zone* zone, AllocKinds kinds, s
for (size_t i = 0; i < bgTaskCount && !bgArenas.done(); i++) {
bgTasks[i].emplace(rt, &bgArenas, lock);
startTask(*bgTasks[i], gcstats::PHASE_COMPACT_UPDATE_CELLS, lock);
- tasksStarted = i;
+ tasksStarted++;
}
}