(&mut self, vm: &mut Vm)
| 182 | } |
| 183 | |
| 184 | fn merge(&mut self, vm: &mut Vm) -> bool { |
| 185 | let coverage: &[u64] = bytemuck::cast_slice(vm.cpu.trace[self.storage].data_mut()); |
| 186 | |
| 187 | if has_new_bits(&self.hit[..], coverage) { |
| 188 | self.count = or_bits(&mut self.hit[..], coverage); |
| 189 | return true; |
| 190 | } |
| 191 | |
| 192 | false |
| 193 | } |
| 194 | |
| 195 | fn serialize(&self, _: &mut Vm, out: &mut String) { |
| 196 | use std::fmt::Write; |
no test coverage detected