Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index c4ebabb32fdc45ff89e6ebe0ff2532e30212041b..eb17b14c0b9501cf48e329d1a49f54afded2077d 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -1057,7 +1057,9 @@ intptr_t PagedSpace::SizeOfFirstPage() { |
// upgraded to handle small pages. |
size = AreaSize(); |
} else { |
- size = 480 * KB * FullCodeGenerator::kBootCodeSizeMultiplier / 100; |
+ size = RoundUp( |
+ 480 * KB * FullCodeGenerator::kBootCodeSizeMultiplier / 100, |
+ kPointerSize); |
} |
break; |
default: |