diff options
Diffstat (limited to 'deps/v8/src/globals.h')
-rw-r--r-- | deps/v8/src/globals.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/globals.h b/deps/v8/src/globals.h index 1977e68c8..3456030b7 100644 --- a/deps/v8/src/globals.h +++ b/deps/v8/src/globals.h @@ -232,6 +232,8 @@ const uint32_t kMaxUInt32 = 0xFFFFFFFFu; const int kCharSize = sizeof(char); // NOLINT const int kShortSize = sizeof(short); // NOLINT const int kIntSize = sizeof(int); // NOLINT +const int kInt32Size = sizeof(int32_t); // NOLINT +const int kInt64Size = sizeof(int64_t); // NOLINT const int kDoubleSize = sizeof(double); // NOLINT const int kIntptrSize = sizeof(intptr_t); // NOLINT const int kPointerSize = sizeof(void*); // NOLINT @@ -248,10 +250,12 @@ const int kRandomStateSize = 2 * kIntSize; const int kPointerSizeLog2 = 3; const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF); +const bool kIs64BitArch = true; #else const int kPointerSizeLog2 = 2; const intptr_t kIntptrSignBit = 0x80000000; const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu; +const bool kIs64BitArch = false; #endif const int kBitsPerByte = 8; @@ -354,7 +358,7 @@ F FUNCTION_CAST(Address addr) { // Define DISABLE_ASAN macros. #if defined(__has_feature) #if __has_feature(address_sanitizer) -#define DISABLE_ASAN __attribute__((no_address_safety_analysis)) +#define DISABLE_ASAN __attribute__((no_sanitize_address)) #endif #endif |