From c4e622b658b4cdf6cf75c783aade44f53ce0b4b6 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Fri, 2 Nov 2007 07:12:30 -0400 Subject: langhooks.h (struct lang_hooks_for_callgraph): Remove third argument from function pointer ANALYZE_EXPR. * langhooks.h (struct lang_hooks_for_callgraph): Remove third argument from function pointer ANALYZE_EXPR. Update all users. * cgraph.c (debug_cgraph_node): New. (debug_cgraph): New. From-SVN: r129845 --- gcc/cgraphbuild.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gcc/cgraphbuild.c') diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c index 1e3e5da..2f8d3b0 100644 --- a/gcc/cgraphbuild.c +++ b/gcc/cgraphbuild.c @@ -35,7 +35,7 @@ along with GCC; see the file COPYING3. If not see Called via walk_tree: TP is pointer to tree to be examined. */ static tree -record_reference (tree *tp, int *walk_subtrees, void *data) +record_reference (tree *tp, int *walk_subtrees, void *data ATTRIBUTE_UNUSED) { tree t = *tp; @@ -46,8 +46,7 @@ record_reference (tree *tp, int *walk_subtrees, void *data) { varpool_mark_needed_node (varpool_node (t)); if (lang_hooks.callgraph.analyze_expr) - return lang_hooks.callgraph.analyze_expr (tp, walk_subtrees, - data); + return lang_hooks.callgraph.analyze_expr (tp, walk_subtrees); } break; @@ -73,7 +72,7 @@ record_reference (tree *tp, int *walk_subtrees, void *data) } if ((unsigned int) TREE_CODE (t) >= LAST_AND_UNUSED_TREE_CODE) - return lang_hooks.callgraph.analyze_expr (tp, walk_subtrees, data); + return lang_hooks.callgraph.analyze_expr (tp, walk_subtrees); break; } -- cgit v1.1