--- a/js/src/wasm/WasmFrame.cpp 2022-03-05 01:14:33.000000000 +0100 +++ b/js/src/wasm/WasmFrame.cpp 2022-03-19 12:36:33.936273789 +0100 @@ -54,8 +54,10 @@ static_assert(WasmStackAlignment >= Alignment, "Aligned by ABI before pushing DebugFrame"); +#ifndef JS_CODEGEN_NONE static_assert((offsetof(DebugFrame, frame_) + sizeof(Frame)) % Alignment == 0, "Aligned after pushing DebugFrame"); +#endif #ifdef JS_CODEGEN_ARM64 // This constraint may or may not be necessary. If you hit this because // you've changed the frame size then feel free to remove it, but be extra