]> 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, 4 Oct 2022 19:50:06 +0000 (01:20 +0530)
commit92d75e5c53241ac76e8fdcb6fc66ade68354687c
treef9794f4a44f5b1e3a1c308cb37835793250f5c22
parentb86f711e3de7c95e7957477b888154ace575c96f
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