diff options
author | Richard Henderson <rth@redhat.com> | 2003-09-10 12:16:20 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-09-10 12:16:20 -0700 |
commit | 25c84396dd1bfb44ff5365d8ff512f1233101dfd (patch) | |
tree | 56d08387c52a8a24e834f4ec5cb02b4cf7d17bf9 /gcc/cgraph.h | |
parent | 707691d877398ea53c48961368d24e06787ac43d (diff) | |
download | gcc-25c84396dd1bfb44ff5365d8ff512f1233101dfd.zip gcc-25c84396dd1bfb44ff5365d8ff512f1233101dfd.tar.gz gcc-25c84396dd1bfb44ff5365d8ff512f1233101dfd.tar.bz2 |
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
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 2b30f93..2e6e689 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define GCC_CGRAPH_H /* Information about the function collected locally. - Available after function is lowered */ + Available after function is analyzed. */ struct cgraph_local_info GTY(()) { @@ -100,10 +100,9 @@ struct cgraph_node GTY((chain_next ("%h.next"), chain_prev ("%h.previous"))) /* Set when function is reachable by call from other function that is either reachable or needed. */ bool reachable; - /* Set when the frontend has been asked to lower representation of this - function into trees. Callees lists are not available when lowered - is not set. */ - bool lowered; + /* Set once the function has been instantiated and its callee + lists created. */ + bool analyzed; /* Set when function is scheduled to be assembled. */ bool output; struct cgraph_local_info local; |