(label_types: &[wasmparser::ValType])
| 635 | } |
| 636 | |
| 637 | fn label_keep_counts(label_types: &[wasmparser::ValType]) -> (u16, u16, u16) { |
| 638 | let (mut c32, mut c64, mut c128) = (0, 0, 0); |
| 639 | for &ty in label_types { |
| 640 | match operand_size(ty) { |
| 641 | OperandSize::S32 => c32 += 1, |
| 642 | OperandSize::S64 => c64 += 1, |
| 643 | OperandSize::S128 => c128 += 1, |
| 644 | } |
| 645 | } |
| 646 | |
| 647 | (c32, c64, c128) |
| 648 | } |
| 649 | |
| 650 | fn label_keep_counts_for_frame(&self, frame: &wasmparser::Frame) -> (u16, u16, u16) { |
| 651 | match &frame.block_type { |
nothing calls this directly
no test coverage detected