]> Cypherpunks repositories - gostls13.git/commit
cmd/9g: use REGZERO instead of REG_R0 if we want the zero register
authorShenghou Ma <minux@golang.org>
Wed, 11 Mar 2015 17:05:24 +0000 (13:05 -0400)
committerMinux Ma <minux@golang.org>
Thu, 12 Mar 2015 00:08:20 +0000 (00:08 +0000)
commit1e1c9dc2c8143127b1ef8bd5e32b294e856586a6
tree8d46031f852fc53d40ae1bd698b3b35abfbc2bf7
parent9dfbcd8facae22e2be8bc527e1877b1e23812073
cmd/9g: use REGZERO instead of REG_R0 if we want the zero register

This will make the intention clearer.
This is migrated from pre-c2go CL 4930.

Change-Id: I9103126a05323daedd729a43b94b2be8cd7408c9
Signed-off-by: Shenghou Ma <minux@golang.org>
Reviewed-on: https://go-review.googlesource.com/7410
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/9g/ggen.go