Bug 1832284 - Fix rooting hazard in JSObject::swap r=sfink
commit442c67b4f98717778305e68c78c6e79a47f6437d
authorJon Coppeard <jcoppeard@mozilla.com>
Wed, 31 May 2023 16:42:54 +0000 (31 16:42 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Wed, 31 May 2023 16:42:54 +0000 (31 16:42 +0000)
treec0552a580eebc79f2dcdf2df8fe930d871af02ee
parent8dd0d2bebe4c897152da6c86d937e4be80bbaa54
Bug 1832284 - Fix rooting hazard in JSObject::swap r=sfink

Reorder blocks to avoid possbile GC while |na| and |nb| are live.

Differential Revision: https://phabricator.services.mozilla.com/D177627
js/src/vm/JSObject.cpp