diff --git a/.gn b/.gn index de8ac9b159..bebb5388f9 100644 --- a/.gn +++ b/.gn @@ -36,7 +36,6 @@ default_args = { clang_use_chrome_plugins = false v8_deprecation_warnings = false - v8_embedder_string = "-deno" v8_enable_gdbjit = false v8_enable_i18n_support = false v8_experimental_extra_library_files = [] diff --git a/gclient_config.py b/gclient_config.py index 31ec36ee94..c891b0bae1 100644 --- a/gclient_config.py +++ b/gclient_config.py @@ -1,5 +1,5 @@ solutions = [{ - 'url': 'https://chromium.googlesource.com/v8/v8.git@7.0.247', + 'url': 'https://chromium.googlesource.com/v8/v8.git@7.0.276.15', 'name': 'v8', 'deps_file': 'DEPS', 'custom_deps': { diff --git a/libdeno/binding.cc b/libdeno/binding.cc index 8ca34684b0..dbbd387e7d 100644 --- a/libdeno/binding.cc +++ b/libdeno/binding.cc @@ -58,7 +58,7 @@ void HandleExceptionStr(v8::Local context, // global_error_handler is set so we try to handle the exception in // javascript. v8::Local args[5]; - args[0] = exception->ToString(); + args[0] = exception->ToString(context).ToLocalChecked(); args[1] = message->GetScriptResourceName(); args[2] = line; args[3] = column; @@ -79,7 +79,7 @@ void HandleExceptionStr(v8::Local context, msg += "\n"; for (int i = 0; i < stack_trace->GetFrameCount(); ++i) { - auto frame = stack_trace->GetFrame(i); + auto frame = stack_trace->GetFrame(isolate, i); v8::String::Utf8Value script_name(isolate, frame->GetScriptName()); int l = frame->GetLineNumber(); int c = frame->GetColumn(); diff --git a/third_party b/third_party index cce49c625f..6f8985fb13 160000 --- a/third_party +++ b/third_party @@ -1 +1 @@ -Subproject commit cce49c625feb2ca3b1e7436fb579727288fe858b +Subproject commit 6f8985fb138ac83e54563f5a6445df8def12889c