Upgrade V8 to 7.7.37 (#2492)

This commit is contained in:
Ryan Dahl 2019-06-10 18:49:30 -04:00 committed by GitHub
parent e043697521
commit 523ab6a929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 8 deletions

View File

@ -3,8 +3,8 @@ import("//build/toolchain/cc_wrapper.gni")
import("//build_extra/flatbuffers/flatbuffer.gni")
import("//build_extra/flatbuffers/rust/rust_flatbuffer.gni")
import("//build_extra/rust/rust.gni")
import("//third_party/v8/gni/snapshot_toolchain.gni")
import("//third_party/v8/gni/v8.gni")
import("//third_party/v8/snapshot_toolchain.gni")
import("../deno.gni")
main_extern = [

View File

@ -101,11 +101,8 @@ void Print(const v8::FunctionCallbackInfo<v8::Value>& args) {
if (argsLen < 1 || argsLen > 2) {
ThrowInvalidArgument(isolate);
}
DenoIsolate* d = DenoIsolate::FromIsolate(isolate);
auto context = d->context_.Get(d->isolate_);
v8::HandleScope handle_scope(isolate);
bool is_err =
args.Length() >= 2 ? args[1]->BooleanValue(context).ToChecked() : false;
bool is_err = args.Length() >= 2 ? args[1]->BooleanValue(isolate) : false;
FILE* file = is_err ? stderr : stdout;
#ifdef _WIN32
@ -322,7 +319,8 @@ void Shared(v8::Local<v8::Name> property,
v8::ArrayBufferCreationMode::kExternalized);
d->shared_ab_.Reset(isolate, ab);
}
info.GetReturnValue().Set(d->shared_ab_);
auto shared_ab = d->shared_ab_.Get(isolate);
info.GetReturnValue().Set(shared_ab);
}
void DenoIsolate::ClearModules() {

View File

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

@ -1 +1 @@
Subproject commit 72a4202a0341516115a92aa18951eb3010fb75fa
Subproject commit 92159ba506cf2fb87f4779bebeb07fd3463d0063