Skip to content

Commit

Permalink
Bug 1893416 - Skip assertion about BailoutStack alignment on --disabl…
Browse files Browse the repository at this point in the history
…e-jit configuration. a=RyanVM

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

Differential Revision: https://phabricator.services.mozilla.com/D208847
  • Loading branch information
arai-a committed May 14, 2024
1 parent f0fc3f8 commit 1dc0118
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/jit/Bailouts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1dc0118

Please sign in to comment.