Bug
1837620 - Part 1: Remove baseline ICs that guard shapes when the shape becomes unreachable r=jandem
This adds a new kind of cache IR field, WeakShape. This enables the GC to find
these weak edges when necessary.
At the start of sweeping a sweep group these edges are checked and baseline ICs
with pointers to dead shapes are removed.
* * *
Set JitScript flag to indicate stubs have been discarded after sweeping
This fixes an assertion failure in WarpOracle::createSnapshot where we check we
don't regenerate the same code over and over.
Differential Revision: https://phabricator.services.mozilla.com/
D180857