diff options
| author | Andrea Corallo | 2019-06-24 13:45:08 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:33:46 +0100 |
| commit | 4d4f2a4efc8fb58d8b3375578b763aee33b6e91a (patch) | |
| tree | 9f2196f84c4f300fa086a1621b8958b637092d36 /src/comp.c | |
| parent | 2dc6ff917607f5444417884662126ad0d4037402 (diff) | |
| download | emacs-4d4f2a4efc8fb58d8b3375578b763aee33b6e91a.tar.gz emacs-4d4f2a4efc8fb58d8b3375578b763aee33b6e91a.zip | |
add emit_EQ
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 9 |
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 | ||
| 525 | static gcc_jit_rvalue * | ||
| 526 | emit_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 | ||
| 527 | static gcc_jit_rvalue * | 536 | static gcc_jit_rvalue * |