]> git.eshelyaron.com Git - emacs.git/commitdiff
better logging into emit_scratch_callN
authorAndrea Corallo <andrea_corallo@yahoo.it>
Sat, 22 Jun 2019 15:13:03 +0000 (17:13 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:33:43 +0000 (11:33 +0100)
src/comp.c

index c724f46a9b38807554e3e77997266cb8abc5e75f..2b439fd2a5689973eb358dd5190304d1c125bb24 100644 (file)
@@ -712,6 +712,12 @@ emit_scratch_callN (const char *f_name, unsigned nargs, gcc_jit_rvalue **args)
     p[n] = 0x...;
   */
 
+  snprintf (tmp_str, sizeof (tmp_str), "calling %s", f_name);
+
+  gcc_jit_block_add_comment (comp.bblock->gcc_bb,
+                            NULL,
+                            tmp_str);
+
   gcc_jit_lvalue *p =
     gcc_jit_function_new_local(comp.func,
                               NULL,