]> git.eshelyaron.com Git - emacs.git/commitdiff
style nit
authorAndrea Corallo <akrl@sdf.org>
Mon, 9 Sep 2019 20:56:09 +0000 (22:56 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:37:47 +0000 (11:37 +0100)
src/comp.c

index 98932f79bb00d12cb3de5eb3684eae7790f7c481..33ed4d6397bada9e9458fa0f1b0bff22e1356cef 100644 (file)
@@ -2699,9 +2699,9 @@ compile_function (Lisp_Object func)
                                      frame_size),
       "local");
 
-  gcc_jit_lvalue **frame = SAFE_ALLOCA (frame_size * sizeof (*frame));
+  comp.frame = SAFE_ALLOCA (frame_size * sizeof (*comp.frame));
   for (int i = 0; i < frame_size; ++i)
-    frame[i] =
+    comp.frame[i] =
       gcc_jit_context_new_array_access (
         comp.ctxt,
        NULL,
@@ -2709,7 +2709,6 @@ compile_function (Lisp_Object func)
        gcc_jit_context_new_rvalue_from_int (comp.ctxt,
                                             comp.int_type,
                                             i));
-  comp.frame = frame;
 
   comp.func_blocks = CALLN (Fmake_hash_table);