diff options
author | David Crawshaw <crawshaw@golang.org> | 2016-02-16 22:23:14 -0500 |
---|---|---|
committer | David Crawshaw <crawshaw@golang.org> | 2016-02-24 17:12:15 +0000 |
commit | a8589312004157de09677e182c3c77399f2d628d (patch) | |
tree | 8555ee8731028b29311157de253b8e193f0eea18 /src/runtime/type.go | |
parent | 8dd2ce2b980d341a4c88e4f3c95e4eca396b6a07 (diff) | |
download | go-a8589312004157de09677e182c3c77399f2d628d.tar.gz go-a8589312004157de09677e182c3c77399f2d628d.zip |
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>
Diffstat (limited to 'src/runtime/type.go')
-rw-r--r-- | src/runtime/type.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/type.go b/src/runtime/type.go index d5f3bb1ef0..1323adaf64 100644 --- a/src/runtime/type.go +++ b/src/runtime/type.go @@ -24,7 +24,7 @@ type _type struct { // If the KindGCProg bit is set in kind, gcdata is a GC program. // Otherwise it is a ptrmask bitmap. See mbitmap.go for details. gcdata *byte - _string *string + _string string x *uncommontype ptrto *_type } |