]> Cypherpunks repositories - gostls13.git/commit
runtime, cmd/gc: Get rid of vararg channel calls.
authorKeith Randall <khr@golang.org>
Fri, 17 Jan 2014 22:48:45 +0000 (14:48 -0800)
committerKeith Randall <khr@golang.org>
Fri, 17 Jan 2014 22:48:45 +0000 (14:48 -0800)
commit6f6a9445c93bfbfd05ea9b7880137c02618bedbd
treedea15e5a5b43de4c27be1001aecb0d8c787e2c6c
parent98178b345ac7c4fb711e3327b16b1230cdab9d25
runtime, cmd/gc: Get rid of vararg channel calls.

Vararg C calls present a problem for the GC because the
argument types are not derivable from the signature.  Remove
them by passing pointers to channel elements instead of the
channel elements directly.

R=golang-codereviews, gobot, rsc, dvyukov
CC=golang-codereviews
https://golang.org/cl/53430043
src/cmd/gc/builtin.c
src/cmd/gc/runtime.go
src/cmd/gc/select.c
src/cmd/gc/walk.c
src/pkg/runtime/chan.c