(
header: &mut ModuleHeader,
types_global_values: &mut Vec<Instruction>,
stack: &[Word],
ty: Word,
)
| 412 | inst_id |
| 413 | } |
| 414 | fn top_stack_or_undef( |
| 415 | header: &mut ModuleHeader, |
| 416 | types_global_values: &mut Vec<Instruction>, |
| 417 | stack: &[Word], |
| 418 | ty: Word, |
| 419 | ) -> Word { |
| 420 | match stack.last() { |
| 421 | Some(&top) => top, |
| 422 | None => undef_for(header, types_global_values, ty), |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | struct Renamer<'a> { |
| 427 | header: &'a mut ModuleHeader, |
no test coverage detected