summaryrefslogtreecommitdiff
path: root/js/src/regexp/regexp-macro-assembler-arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/regexp/regexp-macro-assembler-arch.h')
-rw-r--r--js/src/regexp/regexp-macro-assembler-arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/regexp/regexp-macro-assembler-arch.h b/js/src/regexp/regexp-macro-assembler-arch.h
index 1baa5ddd52..aecd59e273 100644
--- a/js/src/regexp/regexp-macro-assembler-arch.h
+++ b/js/src/regexp/regexp-macro-assembler-arch.h
@@ -186,7 +186,7 @@ class SMRegExpMacroAssembler final : public NativeRegExpMacroAssembler {
if (num_registers_ <= register_index) {
num_registers_ = register_index + 1;
}
- static_assert(alignof(uintptr_t) <= alignof(FrameData));
+ static_assert(alignof(uintptr_t) <= alignof(FrameData),"Regexp: Alignment of uintptr_t and FrameData mismatch");
return sizeof(FrameData) + register_index * sizeof(uintptr_t*);
}