(&mut self, val: JitTemp)
| 506 | } |
| 507 | |
| 508 | pub fn bnot(&mut self, val: JitTemp) -> JitTemp { |
| 509 | use JitTemp::*; |
| 510 | match val { |
| 511 | Value(val, typ) => Value(self.builder.ins().bnot(val), typ), |
| 512 | Const8(c) => Const8(!c), |
| 513 | Const16(c) => Const16(!c), |
| 514 | Const32(c) => Const32(!c), |
| 515 | Const64(c) => Const64(!c), |
| 516 | _ => unimplemented!("bnot {:?}", val), |
| 517 | } |
| 518 | } |
| 519 |
nothing calls this directly
no outgoing calls
no test coverage detected