diff options
author | Trevor Saunders <tsaunders@mozilla.com> | 2015-02-19 01:44:42 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-02-19 01:44:42 +0000 |
commit | 1216ea72ef53ea28dfd0ec9a7cfacd8725476ec6 (patch) | |
tree | 739322f85a253d19039bbaaa8dfde298b605c5cd /gcc/ipa-icf.h | |
parent | 1a1d749faa73907c0a41fd970bc6bef013b87b90 (diff) | |
download | gcc-1216ea72ef53ea28dfd0ec9a7cfacd8725476ec6.tar.gz |
sem_function::bb_dict_test should take a vec<int> *
bb_dict_test () ment to operate on the callers vector, not a copy of it.
gcc/ChangeLog:
2015-02-18 Trevor Saunders <tsaunders@mozilla.com>
* ipa-icf.c (sem_function::equals_private): Adjust.
(sem_function::bb_dict_test): Take a vec<int> * instead of
auto_vec<int>.
* ipa-icf.h (bb_dict_test): Likewise.
From-SVN: r220806
Diffstat (limited to 'gcc/ipa-icf.h')
-rw-r--r-- | gcc/ipa-icf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-icf.h b/gcc/ipa-icf.h index adbedd65937..a55699b9d40 100644 --- a/gcc/ipa-icf.h +++ b/gcc/ipa-icf.h @@ -275,7 +275,7 @@ private: /* Basic blocks dictionary BB_DICT returns true if SOURCE index BB corresponds to TARGET. */ - bool bb_dict_test (auto_vec<int> bb_dict, int source, int target); + bool bb_dict_test (vec<int> *bb_dict, int source, int target); /* Iterates all tree types in T1 and T2 and returns true if all types are compatible. If COMPARE_POLYMORPHIC is set to true, |