mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
Upgrade V8 to 7.0.276.15
This commit is contained in:
parent
3c9bb1e799
commit
62470c4f45
4 changed files with 4 additions and 5 deletions
1
.gn
1
.gn
|
@ -36,7 +36,6 @@ default_args = {
|
||||||
clang_use_chrome_plugins = false
|
clang_use_chrome_plugins = false
|
||||||
|
|
||||||
v8_deprecation_warnings = false
|
v8_deprecation_warnings = false
|
||||||
v8_embedder_string = "-deno"
|
|
||||||
v8_enable_gdbjit = false
|
v8_enable_gdbjit = false
|
||||||
v8_enable_i18n_support = false
|
v8_enable_i18n_support = false
|
||||||
v8_experimental_extra_library_files = []
|
v8_experimental_extra_library_files = []
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
solutions = [{
|
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',
|
'name': 'v8',
|
||||||
'deps_file': 'DEPS',
|
'deps_file': 'DEPS',
|
||||||
'custom_deps': {
|
'custom_deps': {
|
||||||
|
|
|
@ -58,7 +58,7 @@ void HandleExceptionStr(v8::Local<v8::Context> context,
|
||||||
// global_error_handler is set so we try to handle the exception in
|
// global_error_handler is set so we try to handle the exception in
|
||||||
// javascript.
|
// javascript.
|
||||||
v8::Local<v8::Value> args[5];
|
v8::Local<v8::Value> args[5];
|
||||||
args[0] = exception->ToString();
|
args[0] = exception->ToString(context).ToLocalChecked();
|
||||||
args[1] = message->GetScriptResourceName();
|
args[1] = message->GetScriptResourceName();
|
||||||
args[2] = line;
|
args[2] = line;
|
||||||
args[3] = column;
|
args[3] = column;
|
||||||
|
@ -79,7 +79,7 @@ void HandleExceptionStr(v8::Local<v8::Context> context,
|
||||||
msg += "\n";
|
msg += "\n";
|
||||||
|
|
||||||
for (int i = 0; i < stack_trace->GetFrameCount(); ++i) {
|
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());
|
v8::String::Utf8Value script_name(isolate, frame->GetScriptName());
|
||||||
int l = frame->GetLineNumber();
|
int l = frame->GetLineNumber();
|
||||||
int c = frame->GetColumn();
|
int c = frame->GetColumn();
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit cce49c625feb2ca3b1e7436fb579727288fe858b
|
Subproject commit 6f8985fb138ac83e54563f5a6445df8def12889c
|
Loading…
Reference in a new issue