]> git.eshelyaron.com Git - emacs.git/commitdiff
simplify condition in emit_ctxt_code
authorAndrea Corallo <andrea_corallo@yahoo.it>
Mon, 2 Sep 2019 16:01:18 +0000 (18:01 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:37:43 +0000 (11:37 +0100)
src/comp.c

index d36f239f510dc0ac648262a427d6d09fe5dc6f01..eb6119b11185f417ea3c759b1f36f216b693b7b0 100644 (file)
@@ -1726,10 +1726,10 @@ emit_ctxt_code (void)
   FOR_EACH_TAIL (f_subr)
     {
       Lisp_Object subr_sym = XCAR (f_subr);
+      Lisp_Object subr = Fsymbol_function (subr_sym);
       /* Ignore inliners. This are not real functions to be imported.  */
-      if (NILP (Fgethash (subr_sym, comp.emitter_dispatcher, Qnil)))
+      if (SUBRP (subr))
        {
-         Lisp_Object subr = Fsymbol_function (subr_sym);
          Lisp_Object maxarg = XCDR (Fsubr_arity (subr));
          gcc_jit_field *field =
            declare_imported_func (subr_sym, comp.lisp_obj_type,