| 793 | } |
| 794 | |
| 795 | void Memory::AliasSet::unionWith(const AliasSet &other) { |
| 796 | auto unionfn = [](auto &a, const auto &b) { |
| 797 | auto I2 = b.begin(), E2 = b.end(); |
| 798 | for (auto I = a.begin(), E = a.end(); I != E && I2 != E2; ++I, ++I2) { |
| 799 | *I = *I || *I2; |
| 800 | } |
| 801 | }; |
| 802 | unionfn(local, other.local); |
| 803 | unionfn(non_local, other.non_local); |
| 804 | } |
| 805 | |
| 806 | static const array<uint64_t, 5> alias_buckets_vals = { 1, 2, 3, 5, 10 }; |
| 807 | static array<uint64_t, 6> alias_buckets_hits = { 0 }; |
no test coverage detected