gcc/libgo/go/reflect
Richard Henderson 38bf819a5f compiler, reflect, runtime: Use static chain for closures.
Change from using __go_set_closure to passing the closure
value in the static chain field.  Uses new backend support for
setting the closure chain in a call from C via
__builtin_call_with_static_chain.  Uses new support in libffi
for Go closures.

The old architecture specific support for reflect.MakeFunc is
removed, replaced by the libffi support.

All work done by Richard Henderson.

	* go-gcc.cc (Gcc_backend::call_expression): Add chain_expr argument.
	(Gcc_backend::static_chain_variable): New method.

From-SVN: r219776
2015-01-16 22:58:53 +00:00
..
all_test.go libgo, compiler: Upgrade libgo to Go 1.4, except for runtime. 2015-01-15 00:27:56 +00:00
deepequal.go
example_test.go
export_test.go libgo, compiler: Upgrade libgo to Go 1.4, except for runtime. 2015-01-15 00:27:56 +00:00
makefunc_ffi_c.c compiler, reflect, runtime: Use static chain for closures. 2015-01-16 22:58:53 +00:00
makefunc_ffi.go compiler, reflect, runtime: Use static chain for closures. 2015-01-16 22:58:53 +00:00
makefunc.go compiler, reflect, runtime: Use static chain for closures. 2015-01-16 22:58:53 +00:00
set_test.go
tostring_test.go
type.go libgo, compiler: Upgrade libgo to Go 1.4, except for runtime. 2015-01-15 00:27:56 +00:00
value.go compiler, reflect, runtime: Use static chain for closures. 2015-01-16 22:58:53 +00:00