]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/interna/obj/riscv: use obj.REG_NONE rather than 0
authorJoel Sing <joel@sing.id.au>
Wed, 25 Aug 2021 10:08:37 +0000 (20:08 +1000)
committerJoel Sing <joel@sing.id.au>
Wed, 8 Sep 2021 06:58:13 +0000 (06:58 +0000)
commitc50d811c7aa0de05e8c4b73c218ffb13f92b8573
tree8d87065a120d8938b9c889cf413d8e92d0f76197
parentf030043e37c4038e8a169feaf814ccbe3ae55cda
cmd/interna/obj/riscv: use obj.REG_NONE rather than 0

No functional change, but makes the code consistent and more readable.

Change-Id: I33db681fe0ed501842755f27b6e7843cdc8877cd
Reviewed-on: https://go-review.googlesource.com/c/go/+/345049
Trust: Joel Sing <joel@sing.id.au>
Trust: Meng Zhuo <mzh@golangcn.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Meng Zhuo <mzh@golangcn.org>
src/cmd/internal/obj/riscv/obj.go