Returns an iterator over all the [`LocalSlot`]s in the frame, including the [`SpecialLocals`].
(&self)
| 163 | /// Returns an iterator over all the [`LocalSlot`]s in the frame, including |
| 164 | /// the [`SpecialLocals`]. |
| 165 | pub fn locals(&self) -> impl Iterator<Item = &LocalSlot> { |
| 166 | self.special_locals.iter().chain(self.wasm_locals.iter()) |
| 167 | } |
| 168 | |
| 169 | /// Prepares the frame for the [`Emission`] code generation phase. |
| 170 | pub fn for_emission(self) -> Frame<Emission> { |
no test coverage detected