Lines 54-61
Link Here
|
54 |
|
54 |
|
55 |
static_assert(WasmStackAlignment >= Alignment, |
55 |
static_assert(WasmStackAlignment >= Alignment, |
56 |
"Aligned by ABI before pushing DebugFrame"); |
56 |
"Aligned by ABI before pushing DebugFrame"); |
|
|
57 |
#ifndef JS_CODEGEN_NONE |
57 |
static_assert((offsetof(DebugFrame, frame_) + sizeof(Frame)) % Alignment == 0, |
58 |
static_assert((offsetof(DebugFrame, frame_) + sizeof(Frame)) % Alignment == 0, |
58 |
"Aligned after pushing DebugFrame"); |
59 |
"Aligned after pushing DebugFrame"); |
|
|
60 |
#endif |
59 |
#ifdef JS_CODEGEN_ARM64 |
61 |
#ifdef JS_CODEGEN_ARM64 |
60 |
// This constraint may or may not be necessary. If you hit this because |
62 |
// This constraint may or may not be necessary. If you hit this because |
61 |
// you've changed the frame size then feel free to remove it, but be extra |
63 |
// you've changed the frame size then feel free to remove it, but be extra |