Skip to content

Commit

Permalink
Upgrade V8 to 7.2.502.16 (denoland#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry authored Dec 23, 2018
1 parent f8473bf commit 9909e8a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gclient_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
solutions = [{
'url': 'https://chromium.googlesource.com/v8/v8.git@7.1.302.4',
'url': 'https://chromium.googlesource.com/v8/v8.git@7.2.502.16',
'name': 'v8',
'deps_file': 'DEPS',
'custom_deps': {
Expand Down
2 changes: 1 addition & 1 deletion libdeno/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
import("./deno.gni")
import("//third_party/v8/gni/v8.gni")
import("./deno.gni")

config("deno_config") {
include_dirs = [ "//third_party/v8" ] # This allows us to v8/src/base/ libraries.
Expand Down
3 changes: 2 additions & 1 deletion libdeno/api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,10 @@ int deno_respond(Deno* d_, void* user_data, int32_t req_id, deno_buf buf) {

v8::Local<v8::Value> args[1];
args[0] = deno::ImportBuf(d, buf);
recv_->Call(context->Global(), 1, args);
auto v = recv_->Call(context, context->Global(), 1, args);

if (try_catch.HasCaught()) {
CHECK(v.IsEmpty());
deno::HandleException(context, try_catch.Exception());
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion third_party
Submodule third_party updated 3281 files

0 comments on commit 9909e8a

Please sign in to comment.