diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-03 19:58:40 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-03 19:58:40 +0000 |
commit | 500c0c93ed630557b2462f87ae3662ee87e0d37c (patch) | |
tree | 3d686174201329a100ae99ae55e9028cf9b316c6 /gcc/graph.c | |
parent | 325d776d57cef6fdd6265a9b9b7424ad57f7c279 (diff) | |
download | gcc-500c0c93ed630557b2462f87ae3662ee87e0d37c.tar.gz |
Fix messed up accidental commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75368 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graph.c')
-rw-r--r-- | gcc/graph.c | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/gcc/graph.c b/gcc/graph.c index 483cc7e35a1..d82dd917ce9 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -25,11 +25,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "tm.h" #include "rtl.h" -#include "tree.h" #include "flags.h" #include "output.h" #include "function.h" -#include "langhooks.h" #include "hard-reg-set.h" #include "basic-block.h" #include "toplev.h" @@ -57,8 +55,7 @@ start_fct (FILE *fp) case vcg: fprintf (fp, "\ graph: { title: \"%s\"\nfolding: 1\nhidden: 2\nnode: { title: \"%s.0\" }\n", - (*lang_hooks.decl_printable_name) (current_function_decl, 2), - (*lang_hooks.decl_printable_name) (current_function_decl, 2)); + current_function_name, current_function_name); break; case no_graph: break; @@ -74,8 +71,7 @@ start_bb (FILE *fp, int bb) fprintf (fp, "\ graph: {\ntitle: \"%s.BB%d\"\nfolding: 1\ncolor: lightblue\n\ label: \"basic block %d", - (*lang_hooks.decl_printable_name) (current_function_decl, 2), - bb, bb); + current_function_name, bb, bb); break; case no_graph: break; @@ -117,9 +113,8 @@ node_data (FILE *fp, rtx tmp_rtx) case vcg: fprintf (fp, "\ edge: { sourcename: \"%s.0\" targetname: \"%s.%d\" }\n", - (*lang_hooks.decl_printable_name) (current_function_decl, 2), - (*lang_hooks.decl_printable_name) (current_function_decl, 2), - XINT (tmp_rtx, 0)); + current_function_name, + current_function_name, XINT (tmp_rtx, 0)); break; case no_graph: break; @@ -131,8 +126,7 @@ edge: { sourcename: \"%s.0\" targetname: \"%s.%d\" }\n", case vcg: fprintf (fp, "node: {\n title: \"%s.%d\"\n color: %s\n \ label: \"%s %d\n", - (*lang_hooks.decl_printable_name) (current_function_decl, 2), - XINT (tmp_rtx, 0), + current_function_name, XINT (tmp_rtx, 0), GET_CODE (tmp_rtx) == NOTE ? "lightgrey" : GET_CODE (tmp_rtx) == INSN ? "green" : GET_CODE (tmp_rtx) == JUMP_INSN ? "darkgreen" @@ -184,11 +178,8 @@ draw_edge (FILE *fp, int from, int to, int bb_edge, int class) color = "color: green "; fprintf (fp, "edge: { sourcename: \"%s.%d\" targetname: \"%s.%d\" %s", - (*lang_hooks.decl_printable_name) (current_function_decl, 2), - from, - (*lang_hooks.decl_printable_name) (current_function_decl, 2), - to, - color); + current_function_name, from, + current_function_name, to, color); if (class) fprintf (fp, "class: %d ", class); fputs ("}\n", fp); @@ -218,7 +209,7 @@ end_fct (FILE *fp) { case vcg: fprintf (fp, "node: { title: \"%s.999999\" label: \"END\" }\n}\n", - (*lang_hooks.decl_printable_name) (current_function_decl, 2)); + current_function_name); break; case no_graph: break; |