emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 50fea24b8b 2/2: * src/comp.c (emit_lisp_obj_rval): Make use of NI


From: Andrea Corallo
Subject: master 50fea24b8b 2/2: * src/comp.c (emit_lisp_obj_rval): Make use of NILP.
Date: Tue, 25 Jan 2022 16:20:40 -0500 (EST)

branch: master
commit 50fea24b8b64dfcdd7beda87d3fab53711173eb8
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * src/comp.c (emit_lisp_obj_rval): Make use of NILP.
---
 src/comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/comp.c b/src/comp.c
index d8fe80df3a..d755df802f 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -1720,7 +1720,7 @@ emit_lisp_obj_rval (Lisp_Object obj)
   emit_comment (format_string ("const lisp obj: %s",
                               SSDATA (Fprin1_to_string (obj, Qnil))));
 
-  if (EQ (obj, Qnil))
+  if (NILP (obj))
     {
       gcc_jit_rvalue *n;
       n = emit_rvalue_from_lisp_word ((Lisp_Word) iQnil);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]