From 59203c63bb777a3bacec32fb8830fba33540e809 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:29 +0200 Subject: Adding upstream version 127.0. Signed-off-by: Daniel Baumann --- js/public/shadow/String.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/public/shadow/String.h') diff --git a/js/public/shadow/String.h b/js/public/shadow/String.h index 570c9f189b..cae853cc5d 100644 --- a/js/public/shadow/String.h +++ b/js/public/shadow/String.h @@ -34,9 +34,9 @@ struct String { static constexpr uint32_t ATOM_BIT = js::Bit(3); static constexpr uint32_t LINEAR_BIT = js::Bit(4); static constexpr uint32_t INLINE_CHARS_BIT = js::Bit(6); - static constexpr uint32_t LATIN1_CHARS_BIT = js::Bit(9); + static constexpr uint32_t LATIN1_CHARS_BIT = js::Bit(10); static constexpr uint32_t EXTERNAL_FLAGS = LINEAR_BIT | js::Bit(8); - static constexpr uint32_t TYPE_FLAGS_MASK = js::BitMask(9) - js::BitMask(3); + static constexpr uint32_t TYPE_FLAGS_MASK = js::BitMask(10) - js::BitMask(3); static constexpr uint32_t PERMANENT_ATOM_MASK = ATOM_BIT | js::Bit(8); uintptr_t flags_; -- cgit v1.2.3