Fix more errors.

Fix more errors.
This commit is contained in:
win7-7 2026-01-04 23:26:45 +02:00 committed by wuggy
commit 166a98559f
2 changed files with 2 additions and 1 deletions

View file

@ -7703,7 +7703,7 @@ JitCompartment::generateStringConcatStub(JSContext* cx)
// lhs and rhs flags, so we just have to clear the other flags and set
// NON_ATOM_BIT to get our rope flags (Latin1 if both lhs and rhs are
// Latin1).
static_assert(JSString::INIT_ROPE_FLAGS == JSString::NON_ATOM_BIT,
static_assert(JSString::ROPE_FLAGS == JSString::NON_ATOM_BIT,
"Rope type flags must be NON_ATOM_BIT only");
masm.and32(Imm32(JSString::LATIN1_CHARS_BIT), temp1);
masm.or32(Imm32(JSString::NON_ATOM_BIT), temp1);