commit | 102b80652f7876e9b78b6a3c0c69b530666b52a2 | [log] [tgz] |
---|---|---|
author | Josh Bleecher Snyder <josharian@gmail.com> | Fri Mar 27 12:00:07 2015 -0700 |
committer | Josh Bleecher Snyder <josharian@gmail.com> | Thu Apr 02 02:16:49 2015 +0000 |
tree | 94df1d750fa2ddb91b64af1619ecbd3dd6ea0c32 | |
parent | 8b0e38ffb44cd9a000db38510925a2cada074e26 [diff] [blame] |
cmd/internal/gc: make class uint8 throughout This prevents conversion noise. No functional changes. Passes toolstash -cmp. Change-Id: I238adf28680f875217827931a689ce7f19a9b371 Reviewed-on: https://go-review.googlesource.com/8164 Reviewed-by: David Chase <drchase@google.com>
diff --git a/src/cmd/internal/gc/export.go b/src/cmd/internal/gc/export.go index f950889..76bb55a 100644 --- a/src/cmd/internal/gc/export.go +++ b/src/cmd/internal/gc/export.go
@@ -57,7 +57,7 @@ return sym.Pkg == localpkg && exportname(sym.Name) } -func autoexport(n *Node, ctxt int) { +func autoexport(n *Node, ctxt uint8) { if n == nil || n.Sym == nil { return }