From: Andrea Corallo Date: Sat, 22 Jun 2019 15:13:03 +0000 (+0200) Subject: better logging into emit_scratch_callN X-Git-Tag: emacs-28.0.90~2727^2~1460 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cbfd437a9bb2bcb5f4d776bb09572bb50965102;p=emacs.git better logging into emit_scratch_callN --- diff --git a/src/comp.c b/src/comp.c index c724f46a9b3..2b439fd2a56 100644 --- a/src/comp.c +++ b/src/comp.c @@ -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,