parent
6af8819be1
commit
cdf77151aa
2 changed files with 3 additions and 3 deletions
|
@ -462,7 +462,7 @@ offline_size (struct cgraph_node *node, ipa_size_summary *info)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Estimate the growth caused by inlining NODE into all callers. */
|
||||
/* Estimate the growth caused by inlining NODE into all callees. */
|
||||
|
||||
int
|
||||
estimate_growth (struct cgraph_node *node)
|
||||
|
|
|
@ -184,8 +184,8 @@ caller_growth_limits (struct cgraph_edge *e)
|
|||
the function to shrink if it went over the limits by forced inlining. */
|
||||
newsize = estimate_size_after_inlining (to, e);
|
||||
if (newsize >= ipa_size_summaries->get (what)->size
|
||||
&& (newsize > opt_for_fn (to->decl, param_large_function_insns)
|
||||
|| newsize > limit))
|
||||
&& newsize > opt_for_fn (to->decl, param_large_function_insns)
|
||||
&& newsize > limit)
|
||||
{
|
||||
e->inline_failed = CIF_LARGE_FUNCTION_GROWTH_LIMIT;
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue