1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:21:22 -06:00
go/src/reflect
Keith Randall d11f411181 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>
2014-12-23 03:18:29 +00:00
..
all_test.go [dev.cc] all: merge default (8d42099cdc23) into dev.cc 2014-12-05 11:18:10 -05:00
asm_386.s
asm_amd64.s
asm_amd64p32.s
asm_arm.s
asm_ppc64x.s all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
deepequal.go
example_test.go
export_test.go reflect: Fix reflect.funcLayout. The GC bitmap has two bits per 2014-12-01 07:52:09 -08:00
makefunc.go
set_test.go
tostring_test.go
type.go reflect: add kindNoPointers if a function layout has no pointers. 2014-12-23 03:18:29 +00:00
value.go