From 9b2b66b7d80ea967b66e7cd1d67e107a439c39f6 Mon Sep 17 00:00:00 2001 From: Milad Farazmand Date: Wed, 12 Feb 2020 17:39:42 +0000 Subject: [PATCH] deps: V8: cherry-pick d89f4ef1cd62 PR-URL: https://github.com/nodejs/node/pull/31753 Refs: https://github.com/v8/v8/commit/d89f4ef1cd629cb169f0d9efcaefd05ebf09fd3d Reviewed-By: Beth Griggs Reviewed-By: Richard Lau Reviewed-By: Ben Noordhuis --- common.gypi | 2 +- deps/v8/src/s390/macro-assembler-s390.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common.gypi b/common.gypi index f5786ef89f209f..32499f8e3f6361 100644 --- a/common.gypi +++ b/common.gypi @@ -33,7 +33,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.55', + 'v8_embedder_string': '-node.56', # Enable disassembler for `--print-code` v8 options 'v8_enable_disassembler': 1, diff --git a/deps/v8/src/s390/macro-assembler-s390.cc b/deps/v8/src/s390/macro-assembler-s390.cc index 8ea37859441e54..807a3f2a99ab1f 100644 --- a/deps/v8/src/s390/macro-assembler-s390.cc +++ b/deps/v8/src/s390/macro-assembler-s390.cc @@ -1324,8 +1324,8 @@ void MacroAssembler::CheckDebugHook(Register fun, Register new_target, ExternalReference debug_hook_active = ExternalReference::debug_hook_on_function_call_address(isolate()); Move(r6, debug_hook_active); - tm(MemOperand(r6), Operand::Zero()); - bne(&skip_hook); + tm(MemOperand(r6), Operand(0xFF)); + beq(&skip_hook); { // Load receiver to pass it later to DebugOnFunctionCall hook.