From 79b95341d9f9804207ff0c17e11085371e0f2e24 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 6 Feb 2019 23:43:31 -0500 Subject: 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 --- libdeno/api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdeno/api.cc') 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(const_cast(blob.data)), blob.raw_size}; } -- cgit v1.2.3