summaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-30 04:42:05 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-30 04:42:05 +0000
commit9ea3d82629ae93d478ce394734886e7118975254 (patch)
treef42058ccb8ca35c6742a8ad65c79c0ffe3208112 /gcc/tree-pretty-print.c
parentc3087ce094d31c34590da4ee313871d0cafd7a3a (diff)
downloadgcc-9ea3d82629ae93d478ce394734886e7118975254.tar.gz
Revert wrong checkin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174424 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c22
1 files changed, 0 insertions, 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