runtime: remove __go_alloc and __go_free
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 3 Jan 2017 22:58:48 +0000 (22:58 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 3 Jan 2017 22:58:48 +0000 (22:58 +0000)
commit0f2a6e84c6e4edd122228be318a014dd88d1c4f2
tree3478fe1adc6005eb49dda8f1c31857b5324fb886
parentc65f76af364733b576d738af315811a68d23886d
runtime: remove __go_alloc and __go_free

    Move allocg and handling of allgs slice from C to Go.

    Reviewed-on: https://go-review.googlesource.com/34797

From-SVN: r244036
18 files changed:
gcc/go/gofrontend/MERGE
libgo/go/runtime/mprof.go
libgo/go/runtime/proc.go
libgo/go/runtime/runtime2.go
libgo/go/runtime/stubs.go
libgo/go/runtime/traceback_gccgo.go
libgo/runtime/go-libmain.c
libgo/runtime/go-main.c
libgo/runtime/go-new.c
libgo/runtime/go-reflect-call.c
libgo/runtime/go-unwind.c
libgo/runtime/heapdump.c
libgo/runtime/malloc.goc
libgo/runtime/mgc0.c
libgo/runtime/parfor.c
libgo/runtime/proc.c
libgo/runtime/runtime.h
libgo/runtime/runtime_c.c