summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap/cppgc/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap/cppgc/globals.h')
-rw-r--r--deps/v8/src/heap/cppgc/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/heap/cppgc/globals.h b/deps/v8/src/heap/cppgc/globals.h
index 84fb389a7e..67ccd37e25 100644
--- a/deps/v8/src/heap/cppgc/globals.h
+++ b/deps/v8/src/heap/cppgc/globals.h
@@ -43,7 +43,7 @@ constexpr size_t kPageSize = 1 << kPageSizeLog2;
constexpr size_t kPageOffsetMask = kPageSize - 1;
constexpr size_t kPageBaseMask = ~kPageOffsetMask;
-#if defined(V8_TARGET_ARCH_ARM64) && defined(V8_OS_MACOS)
+#if defined(V8_TARGET_ARCH_ARM64) && defined(V8_OS_DARWIN)
// No guard pages on ARM64 macOS. This target has 16 kiB pages, meaning that
// the guard pages do not protect anything, since there is no inaccessible
// region surrounding the allocation.