From: Andrea Corallo Date: Fri, 11 Sep 2020 12:57:11 +0000 (+0200) Subject: * src/comp.c (emit_static_object): Make use of ARRAYELTS. X-Git-Tag: emacs-28.0.90~2727^2~446 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c55884d72a4ea806a97c9925d6f85adcca89a3bd;p=emacs.git * src/comp.c (emit_static_object): Make use of ARRAYELTS. --- diff --git a/src/comp.c b/src/comp.c index 1ef4f3054b1..b3640b5e378 100644 --- a/src/comp.c +++ b/src/comp.c @@ -2549,7 +2549,7 @@ emit_static_object (const char *name, Lisp_Object obj) gcc_jit_context_new_struct_type (comp.ctxt, NULL, format_string ("%s_struct", name), - 2, fields)); + ARRAYELTS (fields), fields)); gcc_jit_lvalue *data_struct = gcc_jit_context_new_global (comp.ctxt,