| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index 32396d89ea3d2415a2e10938d3a83049055b9740..8fd7c0822c73bde9be342c82250b3db55a5c050d 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -696,9 +696,15 @@ enum ScopeType {
|
| ARROW_SCOPE // The top-level scope for an arrow function literal.
|
| };
|
|
|
| -
|
| +// The mips architecture prior to revision 5 has inverted encoding for sNaN.
|
| +#if (V8_TARGET_ARCH_MIPS && !defined(_MIPS_ARCH_MIPS32R6)) || \
|
| + (V8_TARGET_ARCH_MIPS64 && !defined(_MIPS_ARCH_MIPS64R6))
|
| +const uint32_t kHoleNanUpper32 = 0xFFFF7FFF;
|
| +const uint32_t kHoleNanLower32 = 0xFFFF7FFF;
|
| +#else
|
| const uint32_t kHoleNanUpper32 = 0xFFF7FFFF;
|
| const uint32_t kHoleNanLower32 = 0xFFF7FFFF;
|
| +#endif
|
|
|
| const uint64_t kHoleNanInt64 =
|
| (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32;
|
|
|