diff options
-rw-r--r-- | .gn | 1 | ||||
-rw-r--r-- | gclient_config.py | 2 | ||||
-rw-r--r-- | libdeno/binding.cc | 4 | ||||
m--------- | third_party | 0 |
4 files changed, 3 insertions, 4 deletions
@@ -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 31ec36ee9..c891b0bae 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 8ca34684b..dbbd387e7 100644 --- a/libdeno/binding.cc +++ b/libdeno/binding.cc @@ -58,7 +58,7 @@ void HandleExceptionStr(v8::Local<v8::Context> context, // global_error_handler is set so we try to handle the exception in // javascript. v8::Local<v8::Value> 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<v8::Context> 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 -Subproject cce49c625feb2ca3b1e7436fb579727288fe858 +Subproject 6f8985fb138ac83e54563f5a6445df8def12889 |