Get the depth of the operand stack in this frame.
(&self, mut store: impl AsContextMut)
| 571 | |
| 572 | /// Get the depth of the operand stack in this frame. |
| 573 | pub fn num_stacks(&self, mut store: impl AsContextMut) -> Result<u32> { |
| 574 | let store = store.as_context_mut(); |
| 575 | let frame_data = self.frame_data(store.0.as_store_opaque())?; |
| 576 | Ok(u32::try_from(frame_data.stack.len()).unwrap()) |
| 577 | } |
| 578 | |
| 579 | /// Get the type and value of the given local in this frame. |
| 580 | /// |
no test coverage detected