diff options
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 5ddbbefe1f0..7640fb79501 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1379,7 +1379,8 @@ compute_inline_parameters (void) node->global.estimated_stack_size = node->local.estimated_self_stack_size; node->global.stack_frame_offset = 0; node->local.inlinable = tree_inlinable_function_p (current_function_decl); - node->local.self_insns = estimate_num_insns (current_function_decl); + node->local.self_insns = estimate_num_insns (current_function_decl, + &eni_inlining_weights); if (node->local.inlinable) node->local.disregard_inline_limits = lang_hooks.tree_inlining.disregard_inline_limits (current_function_decl); |