]> git.ipfire.org Git - thirdparty/gcc.git/commit
reflect, runtime: Use libffi closures to implement reflect.MakeFunc.
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 19 Jul 2014 21:36:26 +0000 (21:36 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 19 Jul 2014 21:36:26 +0000 (21:36 +0000)
commitdffa7328356257772dc7c00fe73aeb315229b373
treeb56b22f6c7e733e05e3f634ca63f18e10bc1b304
parent0c92e4881a61a2483c2878f9953ff92188e9661e
reflect, runtime: Use libffi closures to implement reflect.MakeFunc.

Keep using the existing 386 and amd64 code on those archs,
since it is more efficient.

From-SVN: r212853
18 files changed:
libgo/Makefile.am
libgo/Makefile.in
libgo/go/reflect/all_test.go
libgo/go/reflect/makefunc.go
libgo/go/reflect/makefunc_dummy.c
libgo/go/reflect/makefunc_ffi.go [new file with mode: 0644]
libgo/go/reflect/makefunc_ffi_c.c [new file with mode: 0644]
libgo/runtime/go-caller.c
libgo/runtime/go-callers.c
libgo/runtime/go-ffi.c [new file with mode: 0644]
libgo/runtime/go-ffi.h [new file with mode: 0644]
libgo/runtime/go-panic.h
libgo/runtime/go-recover.c
libgo/runtime/go-reflect-call.c
libgo/runtime/go-traceback.c
libgo/runtime/mprof.goc
libgo/runtime/proc.c
libgo/runtime/runtime.h