Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index dfa9cea71a73a1f895da56237c1107c0e819c08b..996afe46770a8bbef4270637501819e9b67c98e2 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -27,6 +27,7 @@ |
#include "v8.h" |
+#include "full-codegen.h" |
#include "macro-assembler.h" |
#include "mark-compact.h" |
#include "msan.h" |
@@ -1083,7 +1084,7 @@ intptr_t PagedSpace::SizeOfFirstPage() { |
// upgraded to handle small pages. |
size = AreaSize(); |
} else { |
- size = 480 * KB; |
+ size = 480 * KB * FullCodeGenerator::kBootCodeSizeMultiplier / 100; |
} |
break; |
default: |