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/error.go | |
| parent | 8dd2ce2b980d341a4c88e4f3c95e4eca396b6a07 (diff) | |
| download | go-a8589312004157de09677e182c3c77399f2d628d.tar.xz | |
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/error.go')
| -rw-r--r-- | src/runtime/error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/error.go b/src/runtime/error.go index de07bcb643..3e1ec4bc5a 100644 --- a/src/runtime/error.go +++ b/src/runtime/error.go @@ -56,7 +56,7 @@ type stringer interface { func typestring(x interface{}) string { e := efaceOf(&x) - return *e._type._string + return e._type._string } // For calling from C. |
