Make symbol_summary::get and call_summary::get pure.
commit8d36476f7ceea2e5b6a95c11284f6d5e60f9dded
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2018 08:56:18 +0000 (22 08:56 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2018 08:56:18 +0000 (22 08:56 +0000)
treee5853583a3e2128fb8d218e0d319e8ffed5ba27d
parent0280f58ca91700e4e898ce0120953bb3d4b920b1
Make symbol_summary::get and call_summary::get pure.

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

* symbol-summary.h (get): Make it pure and inline move
        functionality from ::get function.
        (get): Remove and inline into ::get and ::get_create.
        (get_create): Move code from ::get function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261882 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/symbol-summary.h