diff options
| author | Keith Randall <khr@golang.org> | 2014-12-22 19:07:05 -0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-12-23 03:18:29 +0000 |
| commit | d11f41118116e0b5c2fb3b3296323d888dff2d6e (patch) | |
| tree | 32fc4d8972b5a40b1b9b61ace5d3c9a2da30a311 /src/cmd/api | |
| parent | 7a524a103647d0b839ff133be1b1b866c92d11fb (diff) | |
| download | go-d11f41118116e0b5c2fb3b3296323d888dff2d6e.tar.xz | |
reflect: add kindNoPointers if a function layout has no pointers.
malloc checks kindNoPointers and if it is not set and the object
is one pointer in size, it assumes it contains a pointer. So we
must set kindNoPointers correctly; it isn't just a hint.
Fixes #9425
Change-Id: Ia43da23cc3298d6e3d6dbdf66d32e9678f0aedcf
Reviewed-on: https://go-review.googlesource.com/2055
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/api')
0 files changed, 0 insertions, 0 deletions
