These asserts are understandably triggering -Wnonnull warnings: static_assert(sizeof(decltype(static_cast<Instance*>(nullptr)->cachedStackLimit())) == sizeof(uint64_t), ""); In https://bugs.webkit.org/show_bug.cgi?id=224452#c26, Jonathan Wakely has a tip to rewrite the assert: static_assert(sizeof(std::declval<Instance*>()->cachedStackLimit()) == sizeof(uint64_t), ""); It works.
Created attachment 426584 [details] Patch
Committed r276343 (236821@main): <https://commits.webkit.org/236821@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426584 [details].
<rdar://problem/77061153>