aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 29fc1ba4a4d..23cb676eaa7 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -48,18 +48,21 @@ enum availability
extern const char * const cgraph_availability_names[];
+struct inline_summary GTY(())
+{
+ /* Estimated stack frame consumption by the function. */
+ HOST_WIDE_INT estimated_self_stack_size;
+
+ /* Size of the function before inlining. */
+ int self_insns;
+};
+
/* Information about the function collected locally.
Available after function is analyzed. */
struct cgraph_local_info GTY(())
{
- 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;
- } inline_summary;
+ struct inline_summary inline_summary;
/* Set when function function is visible in current compilation unit only
and its address is never taken. */