Commit efd02400 by Xinliang David Li

Revert wrong checkin

From-SVN: r174424
parent 226c52aa
...@@ -3013,25 +3013,3 @@ pp_base_tree_identifier (pretty_printer *pp, tree id) ...@@ -3013,25 +3013,3 @@ pp_base_tree_identifier (pretty_printer *pp, tree id)
pp_append_text (pp, IDENTIFIER_POINTER (id), pp_append_text (pp, IDENTIFIER_POINTER (id),
IDENTIFIER_POINTER (id) + IDENTIFIER_LENGTH (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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment