[mips32] Fix the use of callee-saved registers for RecordWrite

this is related to commit 6d54d94845

Bug: v8:11420
Change-Id: I8e19b8a960fc7a1c499e04a170a4439f38750205
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3005678
Reviewed-by: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Auto-Submit: Liu yu <liuyu@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#75559}
This commit is contained in:
Liu Yu 2021-07-05 18:03:09 +08:00 committed by V8 LUCI CQ
parent bcda3b68d0
commit 4cb591e873

View File

@ -34,7 +34,7 @@ void StaticCallInterfaceDescriptor<DerivedDescriptor>::
// static
constexpr auto WriteBarrierDescriptor::registers() {
return RegisterArray(a1, a2, a0, v0, a3);
return RegisterArray(a1, v0, a0, a2, a3);
}
// static