Bug 1838154 - Don't poke store buffer overflow state in testing code if the nursery...
commite7c2297f99169ad976c599c9d52c02a45f6e8099
authorJon Coppeard <jcoppeard@mozilla.com>
Thu, 15 Jun 2023 15:28:35 +0000 (15 15:28 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Thu, 15 Jun 2023 15:28:35 +0000 (15 15:28 +0000)
tree641e7367b2c5861070fca08a999fb46b4e45fce1
parent5b6d309f90945482b9da7b5d9f30a6b234818256
Bug 1838154 - Don't poke store buffer overflow state in testing code if the nursery is disabled r=sfink

The regressing bug added an assertion that the nursery is enabled when minor GC
is requested. That holds in normal operation but this testing function triggered
it.

Differential Revision: https://phabricator.services.mozilla.com/D180846
js/src/builtin/TestingFunctions.cpp
js/src/jit-test/tests/gc/bug-1838154.js [new file with mode: 0644]