aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo2019-06-24 13:45:08 +0200
committerAndrea Corallo2020-01-01 11:33:46 +0100
commit4d4f2a4efc8fb58d8b3375578b763aee33b6e91a (patch)
tree9f2196f84c4f300fa086a1621b8958b637092d36 /src
parent2dc6ff917607f5444417884662126ad0d4037402 (diff)
downloademacs-4d4f2a4efc8fb58d8b3375578b763aee33b6e91a.tar.gz
emacs-4d4f2a4efc8fb58d8b3375578b763aee33b6e91a.zip
add emit_EQ
Diffstat (limited to 'src')
-rw-r--r--src/comp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/comp.c b/src/comp.c
index 4f3a80572d1..6f5ca5f4ecd 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -522,6 +522,15 @@ emit_rval_XCONS (gcc_jit_rvalue *a)
522 LISP_WORD_TAG (Lisp_Cons)); 522 LISP_WORD_TAG (Lisp_Cons));
523} 523}
524 524
525static gcc_jit_rvalue *
526emit_EQ (gcc_jit_rvalue *x, gcc_jit_rvalue *y)
527{
528 return gcc_jit_context_new_comparison (
529 comp.ctxt,
530 NULL,
531 GCC_JIT_COMPARISON_EQ,
532 emit_rval_XLI (x),
533 emit_rval_XLI (y));
525} 534}
526 535
527static gcc_jit_rvalue * 536static gcc_jit_rvalue *