diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-09-03 21:52:37 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-09-03 21:52:37 +0000 |
commit | 05a7d566782733230696a51ab8575261b8f9f162 (patch) | |
tree | 5f956e4c89959ef335ef73b7ec6e00e4bc2c12d5 /gcc/tree.c | |
parent | 3b18bc426a5c853bda2bdb9e646c5b00483e982a (diff) | |
download | gcc-05a7d566782733230696a51ab8575261b8f9f162.zip gcc-05a7d566782733230696a51ab8575261b8f9f162.tar.gz gcc-05a7d566782733230696a51ab8575261b8f9f162.tar.bz2 |
compiler, runtime: Use runtime functions to pass closure value.
This changes the compiler and runtime to not pass a closure
value as the last argument, but to instead pass it via
__go_set_closure and retrieve it via __go_get_closure. This
eliminates the need for function descriptor wrapper functions.
It will make it possible to retrieve the closure value in a
reflect.MakeFunc function.
From-SVN: r202233
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions