diff options
Diffstat (limited to 'js/src/irregexp/RegExpNativeMacroAssembler.cpp')
-rw-r--r-- | js/src/irregexp/RegExpNativeMacroAssembler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/irregexp/RegExpNativeMacroAssembler.cpp b/js/src/irregexp/RegExpNativeMacroAssembler.cpp index 2a8b1749c2..99cfc31bfc 100644 --- a/js/src/irregexp/RegExpNativeMacroAssembler.cpp +++ b/js/src/irregexp/RegExpNativeMacroAssembler.cpp @@ -247,8 +247,8 @@ void SMRegExpMacroAssembler::CheckCharacterNotInRange(base::uc16 from, bool SMRegExpMacroAssembler::IsCharacterInRangeArray(uint32_t c, ByteArrayData* ranges) { js::AutoUnsafeCallWithABI unsafe; - MOZ_ASSERT(ranges->length % sizeof(uint16_t) == 0); - uint32_t length = ranges->length / sizeof(uint16_t); + MOZ_ASSERT(ranges->length() % sizeof(uint16_t) == 0); + uint32_t length = ranges->length() / sizeof(uint16_t); MOZ_ASSERT(length > 0); // Fast paths. |