Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index a6980139aea963a7511c23462d4017f5319ac96c..b7fa32d4d6bc1fb033b00ffdf481972a8bc23d73 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -1077,7 +1077,14 @@ intptr_t PagedSpace::SizeOfFirstPage() { |
// upgraded to handle small pages. |
size = AreaSize(); |
} else { |
+#if V8_TARGET_ARCH_MIPS |
+ // On MIPS, code stubs seem to be quite a bit larger. |
+ // TODO(olivf/MIPS folks): Can we do anything about this? Does it |
+ // indicate the presence of a bug? |
+ size = 464 * KB; |
+#else |
size = 416 * KB; |
+#endif |
} |
break; |
default: |