This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242578 - in /trunk: gcc/go/gofrontend/MERGE li...


Author: ian
Date: Fri Nov 18 00:15:38 2016
New Revision: 242578

URL: https://gcc.gnu.org/viewcvs?rev=242578&root=gcc&view=rev
Log:
    runtime, reflect: rewrite Go to FFI type conversion in Go
    
    As we move toward the Go 1.7 garbage collector, it's essential that all
    allocation of values that can contain Go pointers be done using the
    correct type descriptor.  That is simplest if we do all such allocation
    in Go code.  This rewrites the code that converts from a Go type to a
    libffi CIF into Go.
    
    Reviewed-on: https://go-review.googlesource.com/33353

Added:
    trunk/libgo/go/runtime/ffi.go
Removed:
    trunk/libgo/runtime/go-ffi.h
Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in
    trunk/libgo/configure
    trunk/libgo/configure.ac
    trunk/libgo/go/reflect/makefunc.go
    trunk/libgo/go/reflect/makefunc_ffi.go
    trunk/libgo/go/reflect/makefunc_ffi_c.c
    trunk/libgo/mkrsysinfo.sh
    trunk/libgo/runtime/go-ffi.c
    trunk/libgo/runtime/go-reflect-call.c
    trunk/libgo/sysinfo.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]