Bug 1837620 - Part 6: Make edges for multiple shape guard weak too r=sfink
commit0d723fbd9f83e943adacbe49a1bb04f7713831aa
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 7 Jul 2023 17:05:44 +0000 (7 17:05 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Fri, 7 Jul 2023 17:05:44 +0000 (7 17:05 +0000)
treef1a46d8cf02c2e57776f9cfd318d1328144c39e6
parenta6a054357c8551e643239302aa305b2ce367559d
Bug 1837620 - Part 6: Make edges for multiple shape guard weak too r=sfink

To make the edges for the multiple shape guard weak we need a way to find and
update the objects used to hold these edges. The simplest way to do this is to
add a vector in the zone.  I don't believe that there are not huge numbers of
these objects.

Differential Revision: https://phabricator.services.mozilla.com/D182012
js/src/gc/Compacting.cpp
js/src/gc/GCRuntime.h
js/src/gc/GenerateStatsPhases.py
js/src/gc/Sweeping.cpp
js/src/gc/Zone.cpp
js/src/gc/Zone.h
js/src/jit/BaselineCacheIRCompiler.cpp
js/src/jit/BaselineCacheIRCompiler.h
js/src/jit/CacheIRCompiler.cpp
js/src/jit/MacroAssembler.cpp