summaryrefslogtreecommitdiff
path: root/src/cmd/gc/reflect.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-10-18 10:03:37 -0400
committerRuss Cox <rsc@golang.org>2011-10-18 10:03:37 -0400
commitdb954e9c8ce7273a09238b4b5b84164e81d6f710 (patch)
treebbecabeda6b0780dc3c959cfd2cfbec7de8093d4 /src/cmd/gc/reflect.c
parenta87a21b63a3407211762af00ea0351a32740b0d1 (diff)
downloadgo-db954e9c8ce7273a09238b4b5b84164e81d6f710.tar.gz
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 http://codereview.appspot.com/5312041
Diffstat (limited to 'src/cmd/gc/reflect.c')
-rw-r--r--src/cmd/gc/reflect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/reflect.c b/src/cmd/gc/reflect.c
index 4ce169579..ca7d08e51 100644
--- a/src/cmd/gc/reflect.c
+++ b/src/cmd/gc/reflect.c
@@ -516,6 +516,7 @@ haspointers(Type *t)
case TUINT32:
case TINT64:
case TUINT64:
+ case TUINTPTR:
case TFLOAT32:
case TFLOAT64:
case TBOOL:
@@ -533,7 +534,6 @@ haspointers(Type *t)
case TPTR32:
case TPTR64:
case TUNSAFEPTR:
- case TUINTPTR:
case TINTER:
case TCHAN:
case TMAP: