aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/string.go
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2016-02-18 06:31:57 -0500
committerDavid Crawshaw <crawshaw@golang.org>2016-02-25 17:47:42 +0000
commit30f93f09944c54147bec9e5c39631f17addd94c7 (patch)
tree22544ac7ce749633ab3a8bca450008af47d907a1 /src/runtime/string.go
parent5abd327d0069af3abc353ba8ee77dd7d1c0c3e75 (diff)
downloadgo-30f93f09944c54147bec9e5c39631f17addd94c7.tar.xz
cmd/compile: remove rtype.ptrToThis
Simplifies some code as ptrToThis was unreliable under dynamic linking. Now the same type lookup is used regardless of execution mode. A synthetic relocation, R_USETYPE, is introduced to make sure the linker includes *T on use of T, if *T is carrying methods. Changes the heap dump format. Anything reading the format needs to look at the last bool of a type of an interface value to determine if the type should be the pointer-to type. Reduces binary size of cmd/go by 0.2%. For #6853. Change-Id: I79fcb19a97402bdb0193f3c7f6d94ddf061ee7b2 Reviewed-on: https://go-review.googlesource.com/19695 Reviewed-by: Keith Randall <khr@golang.org> Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/string.go')
0 files changed, 0 insertions, 0 deletions