summaryrefslogtreecommitdiff
path: root/libdeno/api.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-02-06 23:43:31 -0500
committerGitHub <noreply@github.com>2019-02-06 23:43:31 -0500
commit79b95341d9f9804207ff0c17e11085371e0f2e24 (patch)
treea929a53ee7af415e24e09cf7f299bab8d2106059 /libdeno/api.cc
parent37b05740facd26b5f20b08c3500cd782f70de546 (diff)
Upgrade V8 to 7.4.98 (kKeep fix) (#1640)
* Upgrade V8 to 7.4.98 (kKeep fix) https://github.com/denoland/deno/issues/814 https://bugs.chromium.org/p/v8/issues/detail?id=8761 * fix tests
Diffstat (limited to 'libdeno/api.cc')
-rw-r--r--libdeno/api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdeno/api.cc b/libdeno/api.cc
index 5e451de8e..e540c95fc 100644
--- a/libdeno/api.cc
+++ b/libdeno/api.cc
@@ -84,7 +84,7 @@ deno_buf deno_get_snapshot(Deno* d_) {
d->context_.Reset();
auto blob = d->snapshot_creator_->CreateBlob(
- v8::SnapshotCreator::FunctionCodeHandling::kClear);
+ v8::SnapshotCreator::FunctionCodeHandling::kKeep);
return {nullptr, 0, reinterpret_cast<uint8_t*>(const_cast<char*>(blob.data)),
blob.raw_size};
}