summaryrefslogtreecommitdiffstats
path: root/js/public/shadow/String.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/public/shadow/String.h')
-rw-r--r--js/public/shadow/String.h4
1 files changed, 2 insertions, 2 deletions
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_;