Re: [COMMITTED 3/3] Allow the static chain to be set from C

2014-11-19 Thread Jeff Law
On 11/19/14 07:58, Richard Henderson wrote: We need to be able to set the static chain on a few calls within the Go runtime, so expose this with __builtin_call_with_static_chain. * c-family/c-common.c (c_common_reswords): Add __builtin_call_with_static_chain. * c-famil

[COMMITTED 3/3] Allow the static chain to be set from C

2014-11-19 Thread Richard Henderson
We need to be able to set the static chain on a few calls within the Go runtime, so expose this with __builtin_call_with_static_chain. * c-family/c-common.c (c_common_reswords): Add __builtin_call_with_static_chain. * c-family/c-common.h (RID_BUILTIN_CALL_WITH_STATIC_CHAIN)