Bug 1893416 - Skip assertion about BailoutStack alignment on --disable-jit configuration. a=RyanVM

Original Revision: https://phabricator.services.mozilla.com/D208685

Differential Revision: https://phabricator.services.mozilla.com/D208847
This commit is contained in:
Tooru Fujisawa 2024-05-14 16:29:47 +00:00
parent 4059c332f5
commit bced6bfead

View File

@ -54,9 +54,11 @@ class js::jit::BailoutStack {
# pragma pack(pop)
#endif
#if !defined(JS_CODEGEN_NONE)
// Make sure the compiler doesn't add extra padding on 32-bit platforms.
static_assert((sizeof(BailoutStack) % 8) == 0,
"BailoutStack should be 8-byte aligned.");
#endif
BailoutFrameInfo::BailoutFrameInfo(const JitActivationIterator& activations,
BailoutStack* bailout)