Skip to content

Commit 6d6a3e4

Browse files
Milad FarazmandMylesBorins
Milad Farazmand
authored andcommitted
deps: V8: cherry-pick d89f4ef1cd62
Original commit message: S390x: improve performance by skipping Debug Hook if not needed Change-Id: Ib4b2821f2941cdc131f9c75b89a3baced7554f8d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1991802 Reviewed-by: Junliang Yan <[email protected]> Commit-Queue: Milad Farazmand <[email protected]> Cr-Commit-Position: refs/heads/master@{#65644} Refs: v8/v8@d89f4ef PR-URL: #31354 Reviewed-By: David Carlier <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 55e2b4e commit 6d6a3e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
# Reset this number to 0 on major V8 upgrades.
4141
# Increment by one for each non-official patch applied to deps/v8.
42-
'v8_embedder_string': '-node.27',
42+
'v8_embedder_string': '-node.28',
4343

4444
##### V8 defaults for Node.js #####
4545

deps/v8/src/codegen/s390/macro-assembler-s390.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,8 +1339,8 @@ void MacroAssembler::CheckDebugHook(Register fun, Register new_target,
13391339
ExternalReference debug_hook_active =
13401340
ExternalReference::debug_hook_on_function_call_address(isolate());
13411341
Move(r6, debug_hook_active);
1342-
tm(MemOperand(r6), Operand::Zero());
1343-
bne(&skip_hook);
1342+
tm(MemOperand(r6), Operand(0xFF));
1343+
beq(&skip_hook);
13441344

13451345
{
13461346
// Load receiver to pass it later to DebugOnFunctionCall hook.

0 commit comments

Comments
 (0)