blob: 77164834a9bd5ea876b44b9d9fdf011bb0a2e7c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
commit ac723ae99f3a
Author: Petr Sumbera <petr.sumbera@oracle.com>
Date: Tue Jun 27 01:33:49 2017 -0700
Bug 1376277 - nsWrapperCache.h: add support for 64bits sparc build. r=glandium
---
dom/base/nsWrapperCache.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git dom/base/nsWrapperCache.h dom/base/nsWrapperCache.h
index b00d7aceb5c8..994ed73332ff 100644
--- dom/base/nsWrapperCache.h
+++ dom/base/nsWrapperCache.h
@@ -41,7 +41,7 @@ class nsWindowRoot;
// This may waste space for some other nsWrapperCache-derived objects that have
// a 32-bit field as their first member, but those objects are unlikely to be as
// numerous or performance-critical as DOM nodes.
-#if defined(_M_X64) || defined(__x86_64__) || defined(__aarch64__)
+#if defined(_M_X64) || defined(__LP64__)
static_assert(sizeof(void*) == 8, "These architectures should be 64-bit");
#define BOOL_FLAGS_ON_WRAPPER_CACHE
#else
|