(instr: Instruction)
| 605 | } |
| 606 | |
| 607 | fn int_bin_op_64(instr: Instruction) -> Option<BinOp> { |
| 608 | Some(match instr { |
| 609 | Instruction::I64Add => BinOp::IAdd, |
| 610 | Instruction::I64Sub => BinOp::ISub, |
| 611 | Instruction::I64Mul => BinOp::IMul, |
| 612 | Instruction::I64And => BinOp::IAnd, |
| 613 | Instruction::I64Or => BinOp::IOr, |
| 614 | Instruction::I64Xor => BinOp::IXor, |
| 615 | Instruction::I64Shl => BinOp::IShl, |
| 616 | Instruction::I64ShrS => BinOp::IShrS, |
| 617 | Instruction::I64ShrU => BinOp::IShrU, |
| 618 | Instruction::I64Rotl => BinOp::IRotl, |
| 619 | Instruction::I64Rotr => BinOp::IRotr, |
| 620 | _ => return None, |
| 621 | }) |
| 622 | } |
| 623 | |
| 624 | fn float_bin_op_32(instr: Instruction) -> Option<BinOp> { |
| 625 | Some(match instr { |
no outgoing calls
no test coverage detected