diff options
author | Mike Reinstein <reinstein.mike@gmail.com> | 2018-07-03 16:03:15 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-04 01:55:40 +0200 |
commit | 24dfbd15689405f78192a7fade026ded1ff8a5cf (patch) | |
tree | 50bd9f12f581b31c753ee065861eec14d07562dc | |
parent | 86dac80d98aa64d073953a26e1fbe5e838fcc14f (diff) |
switch from kClear to kKeep
-rw-r--r-- | src/snapshot_creator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snapshot_creator.cc b/src/snapshot_creator.cc index 212434220..f882d7d58 100644 --- a/src/snapshot_creator.cc +++ b/src/snapshot_creator.cc @@ -37,7 +37,7 @@ v8::StartupData MakeSnapshot(const char* js_filename, const char* js_source) { // Note that using kKeep here will cause segfaults. This is demoed in the // "SnapshotBug" test case. auto snapshot_blob = - creator->CreateBlob(v8::SnapshotCreator::FunctionCodeHandling::kClear); + creator->CreateBlob(v8::SnapshotCreator::FunctionCodeHandling::kKeep); return snapshot_blob; } |