| Index: src/mksnapshot.cc
|
| ===================================================================
|
| --- src/mksnapshot.cc (revision 3696)
|
| +++ src/mksnapshot.cc (working copy)
|
| @@ -164,10 +164,10 @@
|
| }
|
| context.Dispose();
|
| CppByteSink sink(argv[1]);
|
| - i::Serializer ser(&sink);
|
| // This results in a somewhat smaller snapshot, probably because it gets rid
|
| // of some things that are cached between garbage collections.
|
| i::Heap::CollectAllGarbage(true);
|
| + i::StartupSerializer ser(&sink);
|
| ser.Serialize();
|
| return 0;
|
| }
|
|
|