Commit 3158cf1a authored by Zhao Jiazhong's avatar Zhao Jiazhong Committed by Commit Bot

[mips64][liftoff] Change FillStackSlotsWithZero to use bytes

port 785fa6b4 https://crrev.com/c/1947350

Change-Id: I76e7d7b0afcea14bee7e11c8317ede5f4c880d1d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1951281
Auto-Submit: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65359}
parent 35e9fd3e
......@@ -543,7 +543,7 @@ void LiftoffAssembler::FillStackSlotsWithZero(uint32_t start, uint32_t size) {
// General case for bigger counts (12 instructions).
// Use a0 for start address (inclusive), a1 for end address (exclusive).
Push(a1, a0);
Daddu(a0, fp, Operand(-liftoff::GetStackSlotOffset(start + end)));
Daddu(a0, fp, Operand(-liftoff::GetStackSlotOffset(start + size)));
Daddu(a1, fp, Operand(-liftoff::GetStackSlotOffset(start)));
Label loop;
......
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