From c4ec8270ac8694a3ac812a6d1d2bddb6b8fd4c95 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 26 Jun 2019 22:29:39 +0200 Subject: [PATCH] rework emit_call_n_ref --- src/comp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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. */ -- 2.39.5