From 74e15fc582e1ae9745fd95c7bc285c301c9643de Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 19 May 2023 17:48:47 +0900 Subject: [PATCH] [qfcc] Show var use in flow vars --- tools/qfcc/source/dot_flow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/qfcc/source/dot_flow.c b/tools/qfcc/source/dot_flow.c index 34c32f77d..0aa42f455 100644 --- a/tools/qfcc/source/dot_flow.c +++ b/tools/qfcc/source/dot_flow.c @@ -204,19 +204,19 @@ print_flow_vars (dstring_t *dstr, flowgraph_t *graph, int level) dasprintf (dstr, "%*sfv_%p [shape=none,label=<\n", indent, "", graph); dasprintf (dstr, "%*s\n", indent + 2, ""); - dasprintf (dstr, "%*s\n", + dasprintf (dstr, "%*s\n", indent + 4, ""); dasprintf (dstr, "%*s" - "\n", + "\n", indent + 4, ""); for (i = 0; i < graph->func->num_vars; i++) { var = graph->func->vars[i]; - dasprintf (dstr, "%*s" - "\n", + dasprintf (dstr, "%*s", indent + 4, "", var->number, html_string(operand_string (var->op)), var->flowaddr, set_as_string (var->define)); + dasprintf (dstr, "\n", set_as_string (var->use)); } dasprintf (dstr, "%*s
flow vars
flow vars
#nameaddrdefine
addrdefineuse
%d%s%d%s
%d%s%d%s%s
>];\n", indent + 2, ""); }