blob: efd1a9154581f53072c558b17ec1e57c49e0e6a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- mozilla/js/src/gc/Heap.h
+++ mozilla/js/src/gc/Heap.h
@@ -108,7 +108,8 @@ struct Cell
* Bug 692267: Move page size definition to gc/Memory.h and include it
* directly once jsgc.h is no longer an installed header.
*/
-#if defined(SOLARIS) && (defined(__sparc) || defined(__sparcv9))
+#if (defined(SOLARIS) || defined(__FreeBSD__)) && \
+ (defined(__sparc) || defined(__sparcv9) || defined(__ia64))
const size_t PageShift = 13;
#else
const size_t PageShift = 12;
|