Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index fbc749da854684718ee37a7bba875939cf462b86..5405ff5220e6a511f88a004fc4a032e6eb35f695 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -189,9 +189,11 @@ const int kIntptrSize = sizeof(intptr_t); // NOLINT |
#if V8_HOST_ARCH_64_BIT |
const int kPointerSizeLog2 = 3; |
const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); |
+static const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF); |
#else |
const int kPointerSizeLog2 = 2; |
const intptr_t kIntptrSignBit = 0x80000000; |
+static const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu; |
#endif |
// Mask for the sign bit in a smi. |