From c55884d72a4ea806a97c9925d6f85adcca89a3bd Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Fri, 11 Sep 2020 14:57:11 +0200 Subject: [PATCH] * src/comp.c (emit_static_object): Make use of ARRAYELTS. --- src/comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5