1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:04:43 -07:00

cmd/gc: complex types don't contain pointers

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11334043
This commit is contained in:
Evan Shaw 2013-07-16 17:41:31 +10:00 committed by Rob Pike
parent a15074c4dc
commit 4949dcb211

View File

@ -474,6 +474,8 @@ haspointers(Type *t)
case TUINTPTR:
case TFLOAT32:
case TFLOAT64:
case TCOMPLEX64:
case TCOMPLEX128:
case TBOOL:
return 0;
case TARRAY: