diff options
author | Jason Merrill <jason@redhat.com> | 2009-05-31 18:01:38 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-05-31 18:01:38 -0400 |
commit | 1aec401ee5c1eb7d5caeac74d0cfb6b26e3590f1 (patch) | |
tree | 5f90478fcda78e3b4eeae78c8fb673395269e315 /gcc/diagnostic.h | |
parent | ed7910bb1513a00096fa7215bc3affd186eb7e9e (diff) | |
download | gcc-1aec401ee5c1eb7d5caeac74d0cfb6b26e3590f1.zip gcc-1aec401ee5c1eb7d5caeac74d0cfb6b26e3590f1.tar.gz gcc-1aec401ee5c1eb7d5caeac74d0cfb6b26e3590f1.tar.bz2 |
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
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r-- | gcc/diagnostic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index 998c11e..aa9aaf8 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -226,6 +226,7 @@ extern void print_generic_expr (FILE *, tree, int); extern void print_generic_decl (FILE *, tree, int); extern void debug_c_tree (tree); extern void dump_omp_clauses (pretty_printer *, tree, int, int); +extern void print_call_name (pretty_printer *, tree); /* In gimple-pretty-print.c */ extern void debug_generic_expr (tree); |