tree-pretty-print.c (print_call_name): Take the callee, not the call itself.
authorJason Merrill <jason@redhat.com>
Sun, 31 May 2009 22:01:38 +0000 (18:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 31 May 2009 22:01:38 +0000 (18:01 -0400)
commit1aec401ee5c1eb7d5caeac74d0cfb6b26e3590f1
tree5f90478fcda78e3b4eeae78c8fb673395269e315
parented7910bb1513a00096fa7215bc3affd186eb7e9e
tree-pretty-print.c (print_call_name): Take the callee, not the call itself.

* tree-pretty-print.c (print_call_name): Take the callee, not the
call itself.  Make non-static.  Use dump_function_name for
functions.
(dump_generic_node): Adjust.
* diagnostic.h: Declare print_call_name.
* gimple-pretty-print.c (dump_gimple_call): Use it.

From-SVN: r148019
gcc/ChangeLog
gcc/diagnostic.h
gcc/gimple-pretty-print.c
gcc/tree-pretty-print.c