]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: shrink SymKind down to a uint8
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 30 Apr 2017 21:37:46 +0000 (09:37 +1200)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 24 Oct 2017 23:06:55 +0000 (23:06 +0000)
Change-Id: I54c73afd4fb2ad4d5854d2568524f57542c64fe5
Reviewed-on: https://go-review.googlesource.com/42182
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/internal/sym/symkind.go

index 68522a39d2128b6085706330fe13160b4a9dd655..1c409a673cf2def9fc42745fd1768f31da42a74b 100644 (file)
@@ -31,7 +31,7 @@
 package sym
 
 // A SymKind describes the kind of memory represented by a symbol.
-type SymKind int16
+type SymKind uint8
 
 // Defined SymKind values.
 //