diff options
author | Richard Henderson <rth@redhat.com> | 2014-11-19 05:31:24 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2014-11-19 05:31:24 -0800 |
commit | 74893f25916c3cdcc7ad26af391c3f59a2a51a98 (patch) | |
tree | 6e11f41a5ade384361d3bf280fa4e43b0e99fa63 /gcc/java/java-gimplify.c | |
parent | f2d3d07ee55fa52b41c1ec08e51269831961a772 (diff) | |
download | gcc-74893f25916c3cdcc7ad26af391c3f59a2a51a98.zip gcc-74893f25916c3cdcc7ad26af391c3f59a2a51a98.tar.gz gcc-74893f25916c3cdcc7ad26af391c3f59a2a51a98.tar.bz2 |
Allow the static chain to be set from C
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): New.
* c/c-parser.c (c_parser_postfix_expression): Handle it.
* doc/extend.texi (__builtin_call_with_static_chain): Document it.
From-SVN: r217771
Diffstat (limited to 'gcc/java/java-gimplify.c')
0 files changed, 0 insertions, 0 deletions