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
This commit is contained in:
Ryan Dahl 2019-02-06 23:43:31 -05:00 committed by GitHub
parent 37b05740fa
commit 79b95341d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

2
build

@ -1 +1 @@
Subproject commit 1e3840b6d9c3fd3dc7be4fc2c1a2de7798d63df6
Subproject commit 89b12c46424e9d18499ebecda24cfc5fad0c2c4f

View file

@ -1,6 +1,7 @@
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
solutions = [{
'url': 'https://chromium.googlesource.com/v8/v8.git@7.2.502.16',
'url':
'https://chromium.googlesource.com/v8/v8.git@7.4.98',
'name': 'v8',
'deps_file': 'DEPS',
'custom_deps': {

View file

@ -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};
}

@ -1 +1 @@
Subproject commit 5ff36c849d4eece1fe910d74dc5318e554d1822b
Subproject commit c8e3a6e37ff575a6f41168235651f5ef684f1989

View file

@ -255,8 +255,7 @@ def download_clang_format():
# Download clang by calling the clang update script.
def download_clang():
run(['python',
tp('v8/tools/clang/scripts/update.py'), '--if-needed'],
run(['python', tp('v8/tools/clang/scripts/update.py')],
env=google_env())