96b39667d3
clang 3.3 merge) PR: ports/179034 [1] Submitted by: Jan Beich <jbeich@tormail.org>, Nikolai Lifanov <lifanov@mail.lifanov.com> [1]
12 lines
473 B
Text
12 lines
473 B
Text
--- js/src/gc/Heap.h
|
|
+++ 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;
|