Use summaries->get where possible. Small refactoring of multiple calls.
commitfbc9c62dc7566ea7078752f29c02f9aa005d32d7
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:14:02 +0000 (8 12:14 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:14:02 +0000 (8 12:14 +0000)
treec0ac07d09e7711dbc59e447502abe2cc5e758bb3
parent563ebd7104e45b23e85fa5488539f04ffe4f38b4
Use summaries->get where possible. Small refactoring of multiple calls.

2018-06-08  Martin Liska  <mliska@suse.cz>

* ipa-fnsummary.c (dump_ipa_call_summary): Use ::get method.
(analyze_function_body): Extract multiple calls of get_create.
* ipa-inline-analysis.c (simple_edge_hints): Likewise.
* ipa-inline.c (recursive_inlining): Use ::get method.
* ipa-inline.h (estimate_edge_growth): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261311 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-fnsummary.c
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-inline.h