]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
show the function name for CALLs in disasm
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 11 Nov 2012 22:36:03 +0000 (23:36 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 11 Nov 2012 22:36:03 +0000 (23:36 +0100)
exec.c

diff --git a/exec.c b/exec.c
index c6d4914bdedbd0d22afa26f1ec8e5df3827f5729..060660a497e9208062615d12fc6d375a84066bda 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -427,6 +427,7 @@ static void prog_print_statement(qc_program *prog, prog_section_statement *st)
     else if (st->opcode >= INSTR_CALL0 &&
              st->opcode <= INSTR_CALL8)
     {
+        trace_print_global(prog, st->o1.u1, TYPE_FUNCTION);
         printf("\n");
     }
     else if (st->opcode == INSTR_GOTO)