From: Andrea Corallo Date: Wed, 26 Jun 2019 20:29:39 +0000 (+0200) Subject: rework emit_call_n_ref X-Git-Tag: emacs-28.0.90~2727^2~1426 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4ec8270ac8694a3ac812a6d1d2bddb6b8fd4c95;p=emacs.git rework emit_call_n_ref --- diff --git a/src/comp.c b/src/comp.c index 5df67fe55f7..309271b8e87 100644 --- a/src/comp.c +++ b/src/comp.c @@ -835,12 +835,12 @@ static gcc_jit_rvalue * emit_call_n_ref (const char *f_name, unsigned nargs, gcc_jit_lvalue *base_arg) { - gcc_jit_rvalue *arguments[2] = + gcc_jit_rvalue *args[] = { gcc_jit_context_new_rvalue_from_int(comp.ctxt, - comp.ptrdiff_type, - nargs), + comp.ptrdiff_type, + nargs), gcc_jit_lvalue_get_address (base_arg, NULL) }; - return emit_call (f_name, comp.lisp_obj_type, 2, arguments); + return emit_call (f_name, comp.lisp_obj_type, 2, args); } /* struct Lisp_Cons definition. */