aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2019-12-27 17:02:23 +0100
committerAndrea Corallo2020-01-01 11:38:17 +0100
commit1c08dc82121d50e80bd2dcb0d1f39654cc6762dd (patch)
tree496bbf41061981375a32c9691b20ac4737f8f92e /src/comp.c
parentf4cb9cc9034c09a8798df3d98f6fa9313a777a96 (diff)
downloademacs-1c08dc82121d50e80bd2dcb0d1f39654cc6762dd.tar.gz
emacs-1c08dc82121d50e80bd2dcb0d1f39654cc6762dd.zip
some rework to please --enable-check-lisp-object-type
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index 85b0983a6df..eacda5de550 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -866,7 +866,7 @@ emit_const_lisp_obj (Lisp_Object obj)
866 emit_comment (format_string ("const lisp obj: %s", 866 emit_comment (format_string ("const lisp obj: %s",
867 SSDATA (Fprin1_to_string (obj, Qnil)))); 867 SSDATA (Fprin1_to_string (obj, Qnil))));
868 868
869 if (Qnil == NULL && EQ (obj, Qnil)) 869 if (NIL_IS_ZERO && EQ (obj, Qnil))
870 return emit_cast (comp.lisp_obj_type, 870 return emit_cast (comp.lisp_obj_type,
871 gcc_jit_context_new_rvalue_from_ptr (comp.ctxt, 871 gcc_jit_context_new_rvalue_from_ptr (comp.ctxt,
872 comp.void_ptr_type, 872 comp.void_ptr_type,