statement expressions (e.g. for ternary condition operator) in GCCJIT
Basile Starynkevitch
basile@starynkevitch.net
Fri Jan 1 00:00:00 GMT 2016
On 02/10/2016 05:34 PM, Basile Starynkevitch wrote:
>
> gcc_jit_rvalue*gcc_jit_statement_expr(gcc_jit_context*ctxt,
> gcc_jit_location*loc,
> gcc_jit_block*block,
> gcc_jit_lvalue*res)
>
> would be enough (it would construct a statement expr similar to
> ({<block>; <res>}) in context ctxt with
> "source" location loc.
After thinking a few minutes, naming that gcc_jit_block_expr would be
more consistent.
Regards
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***
More information about the Jit
mailing list