diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-10 19:16:20 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-10 19:16:20 +0000 |
commit | ec1e35b278e6a4d1ee909d7bb8b625a6694c11a8 (patch) | |
tree | 56d08387c52a8a24e834f4ec5cb02b4cf7d17bf9 /gcc/cgraph.h | |
parent | 5732ea94e04f0a876241880220eb6cbfb08bae84 (diff) | |
download | gcc-ec1e35b278e6a4d1ee909d7bb8b625a6694c11a8.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71277 138bc75d-0d04-0410-961f-82ee72b054a4
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 2b30f93499f..2e6e68918ec 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; |