Index: src/snapshot-common.cc |
diff --git a/src/snapshot-common.cc b/src/snapshot-common.cc |
index 637bac0f4d174a356c2f79f0b64e0360fd0cafd0..d60af0cab94130fbf8339b525cc57fe5cd60239a 100644 |
--- a/src/snapshot-common.cc |
+++ b/src/snapshot-common.cc |
@@ -155,7 +155,7 @@ v8::StartupData Snapshot::CreateSnapshotBlob( |
uint32_t first_page_sizes[kNumPagedSpaces]; |
- CalculateFirstPageSizes(metadata.embeds_script(), startup_snapshot, |
+ CalculateFirstPageSizes(!metadata.embeds_script(), startup_snapshot, |
context_snapshot, first_page_sizes); |
int startup_length = startup_data.length(); |