Skip to content

Commit

Permalink
Upgrade V8 to (kKeep fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Feb 7, 2019
1 parent 39429a2 commit 27a7daa
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build
Submodule build updated 238 files
3 changes: 2 additions & 1 deletion gclient_config.py
@@ -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': {
Expand Down
2 changes: 1 addition & 1 deletion libdeno/api.cc
Expand Up @@ -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};
}
Expand Down
1 change: 1 addition & 0 deletions tests/error_004_missing_module.ts.out
Expand Up @@ -7,6 +7,7 @@ Uncaught NotFound: Cannot resolve module "bad-module.ts" from "[WILDCARD]/tests/
at sendSync ([WILDCARD]/js/dispatch.ts:[WILDCARD])
at codeFetch ([WILDCARD]/js/os.ts:[WILDCARD])
at _resolveModule ([WILDCARD]/js/compiler.ts:[WILDCARD])
at [WILDCARD]/js/compiler.ts:[WILDCARD]
at resolveModuleNames ([WILDCARD]/js/compiler.ts:[WILDCARD])
at compilerHost.resolveModuleNames ([WILDCARD]typescript.js:[WILDCARD])
at resolveModuleNamesWorker ([WILDCARD]typescript.js:[WILDCARD])
Expand Down
1 change: 1 addition & 0 deletions tests/error_005_missing_dynamic_import.ts.out
Expand Up @@ -5,6 +5,7 @@
at sendSync ([WILDCARD]/js/dispatch.ts:[WILDCARD])
at codeFetch ([WILDCARD]/js/os.ts:[WILDCARD])
at _resolveModule ([WILDCARD]/js/compiler.ts:[WILDCARD])
at [WILDCARD]/js/compiler.ts:[WILDCARD]
at resolveModuleNames ([WILDCARD]/js/compiler.ts:[WILDCARD])
at compilerHost.resolveModuleNames ([WILDCARD])
at resolveModuleNamesWorker ([WILDCARD])
Expand Down
1 change: 1 addition & 0 deletions tests/error_006_import_ext_failure.ts.out
Expand Up @@ -7,6 +7,7 @@ Uncaught NotFound: Cannot resolve module "./non-existent" from "[WILDCARD]/tests
at sendSync ([WILDCARD]/js/dispatch.ts:[WILDCARD])
at codeFetch ([WILDCARD]/js/os.ts:[WILDCARD])
at _resolveModule ([WILDCARD]/js/compiler.ts:[WILDCARD])
at [WILDCARD]/js/compiler.ts:[WILDCARD]
at resolveModuleNames ([WILDCARD]/js/compiler.ts:[WILDCARD])
at compilerHost.resolveModuleNames ([WILDCARD])
at resolveModuleNamesWorker ([WILDCARD])
Expand Down
2 changes: 1 addition & 1 deletion third_party
Submodule third_party updated 3349 files
3 changes: 1 addition & 2 deletions tools/third_party.py
Expand Up @@ -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())


Expand Down

0 comments on commit 27a7daa

Please sign in to comment.