Revision f230a1cf deps/v8/src/globals.h
deps/v8/src/globals.h | ||
---|---|---|
232 | 232 |
const int kCharSize = sizeof(char); // NOLINT |
233 | 233 |
const int kShortSize = sizeof(short); // NOLINT |
234 | 234 |
const int kIntSize = sizeof(int); // NOLINT |
235 |
const int kInt32Size = sizeof(int32_t); // NOLINT |
|
236 |
const int kInt64Size = sizeof(int64_t); // NOLINT |
|
235 | 237 |
const int kDoubleSize = sizeof(double); // NOLINT |
236 | 238 |
const int kIntptrSize = sizeof(intptr_t); // NOLINT |
237 | 239 |
const int kPointerSize = sizeof(void*); // NOLINT |
... | ... | |
248 | 250 |
const int kPointerSizeLog2 = 3; |
249 | 251 |
const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); |
250 | 252 |
const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF); |
253 |
const bool kIs64BitArch = true; |
|
251 | 254 |
#else |
252 | 255 |
const int kPointerSizeLog2 = 2; |
253 | 256 |
const intptr_t kIntptrSignBit = 0x80000000; |
254 | 257 |
const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu; |
258 |
const bool kIs64BitArch = false; |
|
255 | 259 |
#endif |
256 | 260 |
|
257 | 261 |
const int kBitsPerByte = 8; |
... | ... | |
354 | 358 |
// Define DISABLE_ASAN macros. |
355 | 359 |
#if defined(__has_feature) |
356 | 360 |
#if __has_feature(address_sanitizer) |
357 |
#define DISABLE_ASAN __attribute__((no_address_safety_analysis))
|
|
361 |
#define DISABLE_ASAN __attribute__((no_sanitize_address))
|
|
358 | 362 |
#endif |
359 | 363 |
#endif |
360 | 364 |
|
Also available in: Unified diff