summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-17 05:56:15 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-17 05:56:15 +0000
commitf259ef2dde37cdc1994ab89de4202de11db1758d (patch)
treefa16d409fa166f36caaced4b9b18b5c11655a10f /gcc/cgraph.h
parentf901aa342fec3c1daf7be7c1f6258571542389b1 (diff)
downloadgcc-f259ef2dde37cdc1994ab89de4202de11db1758d.tar.gz
2008-05-17 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r135459 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@135460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 89ffeb6c45c..b537cb5785b 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -53,11 +53,13 @@ extern const char * const cgraph_availability_names[];
struct cgraph_local_info GTY(())
{
- /* Estimated stack frame consumption by the function. */
- HOST_WIDE_INT estimated_self_stack_size;
+ struct inline_summary {
+ /* Estimated stack frame consumption by the function. */
+ HOST_WIDE_INT estimated_self_stack_size;
- /* Size of the function before inlining. */
- int self_insns;
+ /* Size of the function before inlining. */
+ int self_insns;
+ } inline_summary;
/* Set when function function is visible in current compilation unit only
and its address is never taken. */
@@ -116,7 +118,7 @@ struct cgraph_global_info GTY(())
struct cgraph_rtl_info GTY(())
{
- int preferred_incoming_stack_boundary;
+ unsigned int preferred_incoming_stack_boundary;
};
/* The cgraph data structure.
@@ -416,6 +418,7 @@ varpool_next_static_initializer (struct varpool_node *node)
void cgraph_clone_inlined_nodes (struct cgraph_edge *, bool, bool);
void cgraph_mark_inline_edge (struct cgraph_edge *, bool);
bool cgraph_default_inline_p (struct cgraph_node *, const char **);
+unsigned int compute_inline_parameters (struct cgraph_node *);
/* Create a new static variable of type TYPE. */