Index: src/base/macros.h |
diff --git a/src/base/macros.h b/src/base/macros.h |
index fa522fb94531c26f4eb7e95b0b3ed910ea43ad93..b99f01b230c52db6c11e90a49c608919ae6ccfab 100644 |
--- a/src/base/macros.h |
+++ b/src/base/macros.h |
@@ -54,17 +54,15 @@ |
#define MUST_USE_RESULT V8_WARN_UNUSED_RESULT |
-// Define V8_USE_ADDRESS_SANITIZER macros. |
+// Define DISABLE_ASAN macros. |
#if defined(__has_feature) |
#if __has_feature(address_sanitizer) |
-#define V8_USE_ADDRESS_SANITIZER 1 |
+#define DISABLE_ASAN __attribute__((no_sanitize_address)) |
#endif |
#endif |
-// Define DISABLE_ASAN macros. |
-#ifdef V8_USE_ADDRESS_SANITIZER |
-#define DISABLE_ASAN __attribute__((no_sanitize_address)) |
-#else |
+ |
+#ifndef DISABLE_ASAN |
#define DISABLE_ASAN |
#endif |