]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: convT2{I,E} don't handle direct interfaces
authorKeith Randall <khr@golang.org>
Tue, 19 Apr 2016 19:48:09 +0000 (12:48 -0700)
committerKeith Randall <khr@golang.org>
Tue, 19 Apr 2016 22:27:08 +0000 (22:27 +0000)
commit998c8e034c98fccb52b0692b97d36a5a6d3bd31a
treef4e22ce2f5abe0373451c75c7cf34f4ecb5adcee
parent8b20fd000d7e894865442134f9d6d197ac5dabed
cmd/compile: convT2{I,E} don't handle direct interfaces

We now inline type to interface conversions when the type
is pointer-shaped.  No need to keep code to handle that in
convT2{I,E}.

Change-Id: I3a6668259556077cbb2986a9e8fe42a625d506c9
Reviewed-on: https://go-review.googlesource.com/22249
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michel Lespinasse <walken@google.com>
src/runtime/iface.go