From d6d03a63b42afea911595e4f939ef5f690acda94 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 5 Nov 2012 13:49:10 +0900 Subject: [PATCH] Print the depth-first order of the flow graph nodes. --- tools/qfcc/source/dot_flow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qfcc/source/dot_flow.c b/tools/qfcc/source/dot_flow.c index 9bff7654f..249426cc0 100644 --- a/tools/qfcc/source/dot_flow.c +++ b/tools/qfcc/source/dot_flow.c @@ -54,8 +54,8 @@ print_flow_node (dstring_t *dstr, flownode_t *node, int level) { int indent = level * 2 + 2; - dasprintf (dstr, "%*s\"fn_%p\" [label=\"%d\"];\n", indent, "", node, - node->id); + dasprintf (dstr, "%*s\"fn_%p\" [label=\"%d (%d)\"];\n", indent, "", node, + node->id, node->dfn); } static void