Skip to content

Commit 0810fd2

Browse files
abner-chencgopherbot
authored andcommitted
cmd/internal/obj/loong64: remove unused register alias definitions
Change-Id: Ie788747372cd47cb3780e75b35750bb08bd166fc Reviewed-on: https://go-review.googlesource.com/c/go/+/542835 Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn> Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Meidan Li <limeidan@loongson.cn> Auto-Submit: abner chenc <chenguoqi@loongson.cn> Reviewed-by: Michael Knyszek <mknyszek@google.com>
1 parent bfb8f13 commit 0810fd2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cmd/internal/obj/loong64/a.out.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ const (
225225
REGZERO = REG_R0 // set to zero
226226
REGLINK = REG_R1
227227
REGSP = REG_R3
228-
REGRET = REG_R20 // not use
229-
REGARG = -1 // -1 disables passing the first argument in register
230228
REGRT1 = REG_R20 // reserved for runtime, duffzero and duffcopy
231229
REGRT2 = REG_R21 // reserved for runtime, duffcopy
232230
REGCTXT = REG_R29 // context for closures

0 commit comments

Comments
 (0)