Commit 17ee577c authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

S390: pass a scratch register when using register_location

Change-Id: Ie78370bd2fb99df62a195da1d0070fd4da8d879a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3807853Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#82199}
parent 942a67ca
......@@ -1146,7 +1146,7 @@ void RegExpMacroAssemblerS390::ReadStackPointerFromRegister(int reg) {
ExternalReference::address_of_regexp_stack_memory_top_address(isolate());
__ mov(r2, Operand(ref));
__ LoadU64(r2, MemOperand(r2));
__ LoadU64(backtrack_stackpointer(), register_location(reg));
__ LoadU64(backtrack_stackpointer(), register_location(reg), r0);
__ AddS64(backtrack_stackpointer(), backtrack_stackpointer(), r2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment