зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1857829 - Fix missing right bracket in fromUint32Truncate. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D191260
This commit is contained in:
Родитель
826802ef8d
Коммит
99f7a412bd
|
@ -214,7 +214,7 @@ class AnyRef {
|
|||
#elif defined(JS_CODEGEN_LOONG64) || defined(JS_CODEGEN_MIPS64) || \
|
||||
defined(JS_CODEGEN_RISCV64)
|
||||
// Sign extend the value to the native pointer size.
|
||||
uintptr_t wideValue = uintptr_t(int64_t((uint64_t(value) << 33) >> 33);
|
||||
uintptr_t wideValue = uintptr_t(int64_t((uint64_t(value) << 33)) >> 33);
|
||||
#else
|
||||
// Transfer 32-bit value as is.
|
||||
uintptr_t wideValue = (uintptr_t)value;
|
||||
|
|
Загрузка…
Ссылка в новой задаче