• David Crawshaw's avatar
    cmd/compile: remove rtype.ptrToThis · 30f93f09
    David Crawshaw authored
    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/19695Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    Run-TryBot: David Crawshaw <crawshaw@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    30f93f09
Name
Last commit
Last update
..
all_test.go Loading commit data...
asm_386.s Loading commit data...
asm_amd64.s Loading commit data...
asm_amd64p32.s Loading commit data...
asm_arm.s Loading commit data...
asm_arm64.s Loading commit data...
asm_mips64x.s Loading commit data...
asm_ppc64x.s Loading commit data...
deepequal.go Loading commit data...
example_test.go Loading commit data...
export_test.go Loading commit data...
makefunc.go Loading commit data...
set_test.go Loading commit data...
tostring_test.go Loading commit data...
type.go Loading commit data...
value.go Loading commit data...