Bug 1833854 - Part 4: Move all code that deals with maintaining invariants into a...
commita700cbb88c16cffab1a34e57eafee2ecd78246ac
authorJon Coppeard <jcoppeard@mozilla.com>
Sat, 20 May 2023 08:29:48 +0000 (20 08:29 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Sat, 20 May 2023 08:29:48 +0000 (20 08:29 +0000)
treebff61b961da05813fc67f3bb8c17dfe99305f4b5
parent21d8a4c7d34bda45df1bc8a8155917f341261541
Bug 1833854 - Part 4: Move all code that deals with maintaining invariants into a separate method r=sfink

This makes the setParameter code simpler and amenable to generation by a macro.

Depends on D178527

Differential Revision: https://phabricator.services.mozilla.com/D178528
js/src/gc/Scheduling.cpp
js/src/gc/Scheduling.h