]> Cypherpunks repositories - gostls13.git/commit
reflect: make unsafe use of SliceHeader gc-friendly
authorRuss Cox <rsc@golang.org>
Tue, 18 Oct 2011 14:03:37 +0000 (10:03 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 18 Oct 2011 14:03:37 +0000 (10:03 -0400)
commit4e7aac54137bb77a0b821b1cf24dcc3f42588a7d
treeffa32c689766b521cc3cabaeab0c1e13fe205982
parent313c8224d5e16fe554252aeaa11365e33c35b87b
reflect: make unsafe use of SliceHeader gc-friendly

Revert workaround in compiler and
revert test for compiler workaround.

Tested that the 386 build continues to fail if
the gc change is made without the reflect change.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5312041
src/cmd/gc/reflect.c
src/pkg/reflect/value.go
src/pkg/runtime/gc_test.go