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:
parent
a15074c4dc
commit
4949dcb211
@ -474,6 +474,8 @@ haspointers(Type *t)
|
||||
case TUINTPTR:
|
||||
case TFLOAT32:
|
||||
case TFLOAT64:
|
||||
case TCOMPLEX64:
|
||||
case TCOMPLEX128:
|
||||
case TBOOL:
|
||||
return 0;
|
||||
case TARRAY:
|
||||
|
Loading…
Reference in New Issue
Block a user