Reviewers: vogelheim,
Description:
Fix assertion when creating custom startup snapshots.
[email protected]
Please review this at https://codereview.chromium.org/960513002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/snapshot-common.cc
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();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.