]> Cypherpunks repositories - gostls13.git/commit
reflect: add pointer word to CommonType
authorRuss Cox <rsc@golang.org>
Thu, 24 Feb 2011 22:11:20 +0000 (17:11 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 24 Feb 2011 22:11:20 +0000 (17:11 -0500)
commit8d36a78440f4a489d961ecb034dfc2b0fdb6ab51
tree8707653d23065293ebd1570fb71b102937962edd
parent820dc9ff1af5771a66ce4666e4e7620f831fba45
reflect: add pointer word to CommonType

The pointer will eventually let us find *T given T.
This CL just makes room for it, always storing a zero.

R=r, r2
CC=golang-dev
https://golang.org/cl/4221046
src/cmd/gc/reflect.c
src/cmd/ld/dwarf.c
src/pkg/reflect/type.go
src/pkg/runtime/type.go
src/pkg/runtime/type.h