Index: src/zone.h |
diff --git a/src/zone.h b/src/zone.h |
index f60ac0d3efc9363a6ecbbe1911d41a05b33fd6bc..af2a60033e7d3e039054e596c9633cdd5f7970d1 100644 |
--- a/src/zone.h |
+++ b/src/zone.h |
@@ -87,7 +87,11 @@ class Zone { |
friend class ZoneScope; |
// All pointers returned from New() have this alignment. |
+#if V8_HOST_ARCH_MIPS |
+ static const int kAlignment = 2 * kPointerSize; |
+#else |
static const int kAlignment = kPointerSize; |
+#endif |
// Never allocate segments smaller than this size in bytes. |
static const int kMinimumSegmentSize = 8 * KB; |