]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/mips: use obj.REG_NONE rather than 0
authorJoel Sing <joel@sing.id.au>
Fri, 28 Jul 2023 09:27:22 +0000 (19:27 +1000)
committerGopher Robot <gobot@golang.org>
Mon, 31 Jul 2023 18:04:32 +0000 (18:04 +0000)
commit24af43fa660d212af8b5609ec715b937989eb021
tree0eb6722aef5faea8a8d5fbfadf2f0902761ea3f4
parent8a83ef8479c410ad2002a6e642f295ab8a62de2c
cmd/internal/obj/mips: use obj.REG_NONE rather than 0

Instead of comparing register values to 0, use obj.REG_NONE to improve
readability. No functional change.

Change-Id: I848f7ab7e27fe7e5e9fe2caf9cce47e372c6cd6c
Reviewed-on: https://go-review.googlesource.com/c/go/+/514096
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Rong Zhang <rongrong@oss.cipunited.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Junxian Zhu <zhujunxian@oss.cipunited.com>
src/cmd/internal/obj/mips/asm0.go