mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: embed type string header in rtype
Reduces binary size of cmd/go by 1%. For #6853. Change-Id: I6f2992a4dd3699db1b532ab08683e82741b9c2e4 Reviewed-on: https://go-review.googlesource.com/19692 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
8dd2ce2b98
commit
a858931200
12 changed files with 61 additions and 59 deletions
|
|
@ -48,7 +48,7 @@ func TypeLinks() []string {
|
|||
var r []string
|
||||
for _, m := range typelinks() {
|
||||
for _, t := range m {
|
||||
r = append(r, *t.string)
|
||||
r = append(r, t.string)
|
||||
}
|
||||
}
|
||||
return r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue