PR debug/47402
* cgraph.h (compute_inline_parameters): Return void.
* ipa-inline.c (compute_inline_parameters): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170188
138bc75d-0d04-0410-961f-
82ee72b054a4
PR debug/47106
PR debug/47402
+ * cgraph.h (compute_inline_parameters): Return void.
+ * ipa-inline.c (compute_inline_parameters): Adjust.
+
+2011-02-15 Alexandre Oliva <aoliva@redhat.com>
+
+ PR debug/47106
+ PR debug/47402
* tree-inline.h (estimated_stack_frame_size): Take cgraph node
rather than decl.
* cfgexpand.c (estimated_stack_frame_size): Likewise.
/* In ipa-inline.c */
void cgraph_clone_inlined_nodes (struct cgraph_edge *, bool, bool);
-unsigned int compute_inline_parameters (struct cgraph_node *);
+void compute_inline_parameters (struct cgraph_node *);
/* Create a new static variable of type TYPE. */
}
/* Compute parameters of functions used by inliner. */
-unsigned int
+void
compute_inline_parameters (struct cgraph_node *node)
{
HOST_WIDE_INT self_stack_size;
/* Inlining characteristics are maintained by the cgraph_mark_inline. */
node->global.time = inline_summary (node)->self_time;
node->global.size = inline_summary (node)->self_size;
- return 0;
}