cmd/internal/obj: add AddrName type and cleanup AddrType values

Passes toolstash -cmp.

Change-Id: Ida3eda9bd9d79a34c1c3f18cb41aea9392698076
Reviewed-on: https://go-review.googlesource.com/36950
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
Matthew Dempsky 2017-02-13 13:34:30 -08:00
parent e2948f7efe
commit 02de5ed748
2 changed files with 9 additions and 8 deletions

View file

@ -442,7 +442,7 @@ func gendebug(fn *obj.LSym, decls []*Node) {
continue
}
var name int16
var name obj.AddrName
switch n.Class {
case PAUTO:
if !n.Used {