This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242600 - in /trunk: gcc/go/gofrontend/MERGE li...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 18 Nov 2016 17:48:31 -0000
- Subject: r242600 - in /trunk: gcc/go/gofrontend/MERGE li...
Author: ian
Date: Fri Nov 18 17:48:29 2016
New Revision: 242600
URL: https://gcc.gnu.org/viewcvs?rev=242600&root=gcc&view=rev
Log:
runtime: move schedt type and sched var from C to Go
This doesn't change any actual code, it just starts using the Go
definition of the schedt type and the sched variable rather than the C
definitions.
The schedt type is tweaked slightly for gccgo. We aren't going to
release goroutine stacks, so we don't need separate gfreeStack and
gfreeNostack lists. We only have one size of defer function, so we
don't need a list of 5 different pools.
Reviewed-on: https://go-review.googlesource.com/33364
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/libgo/go/runtime/runtime2.go
trunk/libgo/go/runtime/stubs.go
trunk/libgo/runtime/proc.c