aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-04-30 11:29:44 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-04-30 09:29:44 +0000
commit8b4765bf42585ab649517308c69d4df7e570636d (patch)
tree49d92e570e073cfdedbda44a392d33179b9136d6 /gcc/cgraph.h
parente7fc9c75d0e914748acda8cd682479fbe9da38e9 (diff)
downloadgcc-8b4765bf42585ab649517308c69d4df7e570636d.zip
gcc-8b4765bf42585ab649517308c69d4df7e570636d.tar.gz
gcc-8b4765bf42585ab649517308c69d4df7e570636d.tar.bz2
cgraph.h (cgraph_local_info): Remove for_functions_valid.
* cgraph.h (cgraph_local_info): Remove for_functions_valid. (cgraph_global_info): Remove inlined. (LTO_cgraph_tag_names): Remove. (LTO_cgraph_tags, LCC_NOT_FOUND): Move to ... * lto-cgraph.c (LTO_cgraph_tags, LCC_NOT_FOUND): ... here; simplify cgraph tags and document. (lto_output_node): Use only LTO_cgraph_unavail_node and LTO_cgraph_analyzed_node; Do not save analzed, reachable, for_functions_valid, global info, process and output flags. (input_overwrite_node): Initialize estimated stack size and estimated growth. Do not read flags we no longer store. (input_node): Likewise do not read info no longer stored. * ipa-inline.c (cgraph_mark_inline_edge): Do not set global.inlined flag. From-SVN: r158926
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index cc69129..ed6ce6e 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -111,10 +111,6 @@ struct GTY(()) cgraph_local_info {
redefined now. */
unsigned redefined_extern_inline : 1;
- /* True if statics_read_for_function and
- statics_written_for_function contain valid data. */
- unsigned for_functions_valid : 1;
-
/* True if the function is going to be emitted in some other translation
unit, referenced from vtable. */
unsigned vtable_method : 1;
@@ -139,9 +135,6 @@ struct GTY(()) cgraph_global_info {
/* Estimated growth after inlining. INT_MIN if not computed. */
int estimated_growth;
-
- /* Set iff the function has been inlined at least once. */
- bool inlined;
};
/* Information about the function that is propagated by the RTL backend.
@@ -721,24 +714,6 @@ unsigned int compute_inline_parameters (struct cgraph_node *);
/* Create a new static variable of type TYPE. */
tree add_new_static_var (tree type);
-/* lto-cgraph.c */
-
-enum LTO_cgraph_tags
-{
- /* Must leave 0 for the stopper. */
- LTO_cgraph_avail_node = 1,
- LTO_cgraph_overwritable_node,
- LTO_cgraph_unavail_node,
- LTO_cgraph_edge,
- LTO_cgraph_indirect_edge,
- LTO_cgraph_last_tag
-};
-
-extern const char * LTO_cgraph_tag_names[LTO_cgraph_last_tag];
-
-#define LCC_NOT_FOUND (-1)
-
-
/* Return true if iterator CSI points to nothing. */
static inline bool
csi_end_p (cgraph_node_set_iterator csi)