• Matthew Dempsky's avatar
    cmd/compile: drop legacy code for generating iface wrappers · 6703adde
    Matthew Dempsky authored
    Originally, scalar values were directly stored within interface values
    as long as they fit into a pointer-sized slot of memory. And since
    interface method calls always pass the full pointer-sized value as the
    receiver argument, value-narrowing wrappers were necessary to adapt to
    the calling convention for methods with smaller receiver types.
    
    However, for precise garbage collection, we now only store actual
    pointers within interface values, so these wrappers are no longer
    necessary.
    
    Passes toolstash-check.
    
    Change-Id: I5303bfeb8d0f11db619b5a5d06b37ac898588670
    Reviewed-on: https://go-review.googlesource.com/104875
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    6703adde
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...