]> git.eshelyaron.com Git - emacs.git/commit
src/comp.c: Use libgccjit's bitcast API for type coercion, when available.
authorVibhav Pant <vibhavp@gmail.com>
Tue, 27 Sep 2022 17:08:45 +0000 (22:38 +0530)
committerVibhav Pant <vibhavp@gmail.com>
Tue, 27 Sep 2022 17:08:45 +0000 (22:38 +0530)
commit9d2a54bd8dac68b964649f7d04d04d9fa0096a62
treea93bad1bcea30e55e8635ccab09af3cf3100740d
parentfe215074392d7cdd965b97119892fa4e5366a051
src/comp.c: Use libgccjit's bitcast API for type coercion, when available.

* (type_to_cast_index, define_type_punning, define_cast_from_to,
define_cast_functions): Define functions when
gcc_jit_context_new_bitcast is not available.

* (emit_coerce): Use gcc_jit_context_new_bitcast to coerce types, when
available.
src/comp.c