aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack1.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-01-28 17:28:50 +0300
committerDmitry Vyukov <dvyukov@google.com>2015-01-28 15:33:10 +0000
commitfd85a6c64057402d809a15eb5ec0af8dba8b1256 (patch)
treefc4841682d0fa3ed9b34aac3e49ca8a834c0fb50 /src/runtime/stack1.go
parentb581ca5956e4cf60de2e32f91b51524054efb29c (diff)
downloadgo-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