Bug 1832937 - Always track nursery string allocations in compiled code r=jandem
commitff37ef0d7f1afca49b1e5654fcdbdd08645ed90c
authorJon Coppeard <jcoppeard@mozilla.com>
Mon, 22 May 2023 13:53:32 +0000 (22 13:53 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Mon, 22 May 2023 13:53:32 +0000 (22 13:53 +0000)
treeffd249f00ed0df836ea45ea399df8d66bc401881
parentbb1dbfa4c0d60c217430522dff9135ebe9038fd9
Bug 1832937 - Always track nursery string allocations in compiled code r=jandem

When I consolidated the allocation counts I forgot that we always track nursery
string allocations in optimised code as this feeds into the decision to disable
nursery string allocation. This is important for benchmarks like splay which
allocate a lot of long-lived strings.

Differential Revision: https://phabricator.services.mozilla.com/D178456
js/src/jit/MacroAssembler.cpp