diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-01-28 17:28:50 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-01-28 15:33:10 +0000 |
| commit | fd85a6c64057402d809a15eb5ec0af8dba8b1256 (patch) | |
| tree | fc4841682d0fa3ed9b34aac3e49ca8a834c0fb50 /src/runtime/stack1.go | |
| parent | b581ca5956e4cf60de2e32f91b51524054efb29c (diff) | |
| download | go-fd85a6c64057402d809a15eb5ec0af8dba8b1256.tar.xz | |
cmd/gc: fix condition for fast pathed interface conversions
For some reason the current conditions require the type to be "uintptr-shaped".
This cuts off structs and arrays with a pointer.
isdirectiface and width==widthptr is sufficient condition to enable the fast paths.
Change-Id: I11842531e7941365413606cfd6c34c202aa14786
Reviewed-on: https://go-review.googlesource.com/3414
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/stack1.go')
0 files changed, 0 insertions, 0 deletions
