1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 14:02:07 -08:00

add emit_EQ

This commit is contained in:
Andrea Corallo 2019-06-24 13:45:08 +02:00 committed by Andrea Corallo
parent 2dc6ff9176
commit 4d4f2a4efc

View file

@ -522,6 +522,15 @@ emit_rval_XCONS (gcc_jit_rvalue *a)
LISP_WORD_TAG (Lisp_Cons));
}
static gcc_jit_rvalue *
emit_EQ (gcc_jit_rvalue *x, gcc_jit_rvalue *y)
{
return gcc_jit_context_new_comparison (
comp.ctxt,
NULL,
GCC_JIT_COMPARISON_EQ,
emit_rval_XLI (x),
emit_rval_XLI (y));
}
static gcc_jit_rvalue *