From 25c84396dd1bfb44ff5365d8ff512f1233101dfd Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 10 Sep 2003 12:16:20 -0700 Subject: cgraph.h (struct cgraph_node): Rename lowered to analyzed. * cgraph.h (struct cgraph_node): Rename lowered to analyzed. * cgraphunit.c: Update to match. (record_call_1): Rearrange. Call lang hook for language nodes. (cgraph_analyze_function): Don't call lower_function. * langhooks.h (struct lang_hooks_for_callgraph): Replace lower_function with analyze_expr. * langhooks-def.h: Update to match. * langhooks.c (lhd_callgraph_analyze_expr): New. * decl2.c (cxx_callgraph_analyze_expr): New, from corpse of mark_member_pointers. (lower_function): Remove. * cp-tree.h: Update to match. * cp-lang.c (LANG_HOOKS_CALLGRAPH_ANALYZE_EXPR): New. (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION): Remove. From-SVN: r71277 --- gcc/langhooks.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/langhooks.c') diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 7a003bb..2b9f0ec 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -535,4 +535,12 @@ lhd_print_error_function (diagnostic_context *context, const char *file) } } +tree +lhd_callgraph_analyze_expr (tree *tp ATTRIBUTE_UNUSED, + int *walk_subtrees ATTRIBUTE_UNUSED, + tree decl ATTRIBUTE_UNUSED) +{ + return NULL; +} + #include "gt-langhooks.h" -- cgit v1.1