diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-05-22 11:35:21 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-05-22 09:35:21 +0000 |
commit | 61890ff25a24b2ddb289c61c1e5fbcae6f9f613d (patch) | |
tree | 525488f8dbeb5ee3c5f2b06e394978eebce3b4a9 /gcc/ipa-predicate.h | |
parent | d327113612c1b089eee87f04cd517b7f7103c1ea (diff) | |
download | gcc-61890ff25a24b2ddb289c61c1e5fbcae6f9f613d.zip gcc-61890ff25a24b2ddb289c61c1e5fbcae6f9f613d.tar.gz gcc-61890ff25a24b2ddb289c61c1e5fbcae6f9f613d.tar.bz2 |
ipa-inline-analysis.c (account_size_time): Rename to ...
* ipa-inline-analysis.c (account_size_time): Rename to ...
(inline_summary::account_size_time): ... this one.
(reset_ipa_call_summary): Turn to ...
(ipa_call_summary::reset): ... this one.
(reset_inline_summary): Turn to ...
(inline_summary::reset): ... this one.
(inline_summary_t::remove): Update.
(inline_summary_t::duplicate): Update.
(ipa_call_summary_t::remove): Update.
(dump_inline_summary): Update.
(estimate_function_body_sizes): Update.
(compute_inline_parameters): Update.
(estimate_node_size_and_time): Update.
(inline_merge_summary): Update.
(inline_update_overall_summary): Update.
(inline_read_section): Update.
(inline_write_summary): Update.
* ipa-inline.h (inline_summary): Rename entry to size_time_table;
add account_size_time and reset member functions.
(ipa_call_summary): Add reset function.
* ipa-predicate.h (predicate::operator &): Constify.
From-SVN: r248322
Diffstat (limited to 'gcc/ipa-predicate.h')
-rw-r--r-- | gcc/ipa-predicate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-predicate.h b/gcc/ipa-predicate.h index 9557c3f..40f26c8 100644 --- a/gcc/ipa-predicate.h +++ b/gcc/ipa-predicate.h @@ -137,7 +137,7 @@ public: /* Compute logical and of predicates. */ predicate & operator &= (const predicate &); - inline predicate operator &(const predicate &p) + inline predicate operator &(const predicate &p) const { predicate ret = *this; ret &= p; |