mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
cmd/internal/obj/loong64: fix the error parameters when calling UnspillRegisterArgs
This bug was introduced in CL 648518. Fixes #73518. Change-Id: I4988dd0b636c6a6a48d2aa2e2ae868e43f69995a Reviewed-on: https://go-review.googlesource.com/c/go/+/668475 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Meidan Li <limeidan@loongson.cn> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
parent
760f22848d
commit
b386b62852
@ -836,7 +836,7 @@ func (c *ctxt0) stacksplit(p *obj.Prog, framesize int32) *obj.Prog {
|
||||
}
|
||||
call.Mark |= BRANCH
|
||||
|
||||
unspill := c.cursym.Func().UnspillRegisterArgs(pcdata, c.newprog)
|
||||
unspill := c.cursym.Func().UnspillRegisterArgs(call, c.newprog)
|
||||
|
||||
// JMP start
|
||||
jmp := obj.Appendp(unspill, c.newprog)
|
||||
|
Loading…
x
Reference in New Issue
Block a user