| Index: src/mksnapshot.cc
|
| diff --git a/src/mksnapshot.cc b/src/mksnapshot.cc
|
| index 978ea217bd9e4af37d25bebc8f4d031f70c3a0d4..71e9e6902b91e259cf4a6a740712ecbb3323f1f2 100644
|
| --- a/src/mksnapshot.cc
|
| +++ b/src/mksnapshot.cc
|
| @@ -172,7 +172,8 @@ class CppByteSink : public PartialSnapshotSink {
|
| int data_space_used,
|
| int code_space_used,
|
| int map_space_used,
|
| - int cell_space_used) {
|
| + int cell_space_used,
|
| + int property_cell_space_used) {
|
| fprintf(fp_,
|
| "const int Snapshot::%snew_space_used_ = %d;\n",
|
| prefix,
|
| @@ -197,6 +198,10 @@ class CppByteSink : public PartialSnapshotSink {
|
| "const int Snapshot::%scell_space_used_ = %d;\n",
|
| prefix,
|
| cell_space_used);
|
| + fprintf(fp_,
|
| + "const int Snapshot::%sproperty_cell_space_used_ = %d;\n",
|
| + prefix,
|
| + property_cell_space_used);
|
| }
|
|
|
| void WritePartialSnapshot() {
|
| @@ -417,7 +422,8 @@ int main(int argc, char** argv) {
|
| partial_ser.CurrentAllocationAddress(i::OLD_DATA_SPACE),
|
| partial_ser.CurrentAllocationAddress(i::CODE_SPACE),
|
| partial_ser.CurrentAllocationAddress(i::MAP_SPACE),
|
| - partial_ser.CurrentAllocationAddress(i::CELL_SPACE));
|
| + partial_ser.CurrentAllocationAddress(i::CELL_SPACE),
|
| + partial_ser.CurrentAllocationAddress(i::PROPERTY_CELL_SPACE));
|
| sink.WriteSpaceUsed(
|
| "",
|
| ser.CurrentAllocationAddress(i::NEW_SPACE),
|
| @@ -425,6 +431,7 @@ int main(int argc, char** argv) {
|
| ser.CurrentAllocationAddress(i::OLD_DATA_SPACE),
|
| ser.CurrentAllocationAddress(i::CODE_SPACE),
|
| ser.CurrentAllocationAddress(i::MAP_SPACE),
|
| - ser.CurrentAllocationAddress(i::CELL_SPACE));
|
| + ser.CurrentAllocationAddress(i::CELL_SPACE),
|
| + ser.CurrentAllocationAddress(i::PROPERTY_CELL_SPACE));
|
| return 0;
|
| }
|
|
|