| 63 | bit_signal<64> changed{}; |
| 64 | |
| 65 | bool contains(instruction_ref ins) const |
| 66 | { |
| 67 | if(ins == instructions.end()) |
| 68 | return false; |
| 69 | auto r = instruction_set.count(std::addressof(*ins)) > 0; |
| 70 | assert(r == std::any_of(instructions.begin(), instructions.end(), [&](auto&& x) { |
| 71 | return std::addressof(x) == std::addressof(*ins); |
| 72 | })); |
| 73 | return r; |
| 74 | } |
| 75 | |
| 76 | template <class... Ts> |
| 77 | instruction_ref emplace(instruction_ref pos, Ts&&... xs) |
no test coverage detected