Bug 1842364 - Null check weak pointers when tracing IC stubs r=jandem
commit14b175d6e09421b81b224934ea311139b189249e
authorJon Coppeard <jcoppeard@mozilla.com>
Mon, 10 Jul 2023 12:37:43 +0000 (10 12:37 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Mon, 10 Jul 2023 12:37:43 +0000 (10 12:37 +0000)
tree8c615fae1034f2a898f1793f1076b7131f2750a6
parent4694b041c5e8ae3e2f80d088f6f07b975e4d30af
Bug 1842364 - Null check weak pointers when tracing IC stubs r=jandem

From the bug it seems we can trace IC stubs after they have been discarded if
they are part of a current activation, so we need to add a null check for these
weak fields.

Differential Revision: https://phabricator.services.mozilla.com/D183163
js/src/jit/CacheIRCompiler.cpp