(instr: Instruction, op_instr: Instruction)
| 656 | } |
| 657 | |
| 658 | fn scalar_const_32(instr: Instruction, op_instr: Instruction) -> Option<i32> { |
| 659 | match instr { |
| 660 | Instruction::Const32(c) if int_bin_op_32(op_instr).is_some() || float_bin_op_32(op_instr).is_some() => Some(c), |
| 661 | _ => None, |
| 662 | } |
| 663 | } |
| 664 | |
| 665 | fn scalar_const_64(instr: Instruction, op_instr: Instruction) -> Option<i64> { |
| 666 | match instr { |
nothing calls this directly
no test coverage detected