(&self, ordinal: usize)
| 70 | |
| 71 | impl<'a> ModuleReader<'a> { |
| 72 | fn function_results(&self, ordinal: usize) -> ValueCounts { |
| 73 | let ty_idx = self.code_type_addrs[ordinal]; |
| 74 | let ty = self.func_types.get(ty_idx as usize).expect("No func type for func, this is a bug"); |
| 75 | ValueCounts::from_iter(ty.results()) |
| 76 | } |
| 77 | |
| 78 | pub(crate) fn process_payload(&mut self, payload: Payload<'_>, validator: &mut Validator) -> Result<()> { |
| 79 | fn check_section(section: &str, duplicate: bool) -> Result<()> { |
no test coverage detected