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:
David Crawshaw 2016-02-16 22:23:14 -05:00
parent 8dd2ce2b98
commit a858931200
12 changed files with 61 additions and 59 deletions

View file

@ -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