(&self, key: FuncKey)
| 125 | /// points to. |
| 126 | #[inline] |
| 127 | pub fn function_range(&self, key: FuncKey) -> Range<usize> { |
| 128 | let loc = self.func_loc(key); |
| 129 | let start = usize::try_from(loc.start).unwrap(); |
| 130 | let end = usize::try_from(loc.start + loc.length).unwrap(); |
| 131 | start..end |
| 132 | } |
| 133 | |
| 134 | /// Get the Wasm-to-array trampoline for the given signature, as a |
| 135 | /// range in the text segment. |
no test coverage detected