From efd02400d7fbe83178e55716735b4253d36b22fe Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Mon, 30 May 2011 04:42:05 +0000 Subject: [PATCH] Revert wrong checkin From-SVN: r174424 --- gcc/tree-pretty-print.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index b62417a7797..f2f5a220018 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -3013,25 +3013,3 @@ pp_base_tree_identifier (pretty_printer *pp, tree id) pp_append_text (pp, IDENTIFIER_POINTER (id), IDENTIFIER_POINTER (id) + IDENTIFIER_LENGTH (id)); } - -#if 0 -void -pass_dump_function_header (FILE *dump_file, tree fdecl, struct function *fun) -{ - const char *dname, *aname; - struct cgraph_node *node = cgraph_get_node (fdecl); - dname = lang_hooks.decl_printable_name (fdecl, 2); - aname = (IDENTIFIER_POINTER - (DECL_ASSEMBLER_NAME (fdecl))); - fprintf (dump_file, "\n;; Function %s (%s)[fundef_no:%d][uid=%d]", - dname, aname, fun->funcdef_no, node->uid); - fprintf (dump_file, "%s\n\n", - node->frequency == NODE_FREQUENCY_HOT - ? " (hot)" - : node->frequency == NODE_FREQUENCY_UNLIKELY_EXECUTED - ? " (unlikely executed)" - : node->frequency == NODE_FREQUENCY_EXECUTED_ONCE - ? " (executed once)" - : ""); -} -#endif