(&self, idx: usize)
| 343 | /// Get a reference to a stack slot by index from the bottom. |
| 344 | #[inline(always)] |
| 345 | fn stack_index(&self, idx: usize) -> &Option<PyStackRef> { |
| 346 | debug_assert!(idx < self.stack_top as usize); |
| 347 | let data = self.data_as_slice(); |
| 348 | let raw_idx = self.nlocalsplus as usize + idx; |
| 349 | unsafe { &*(data.as_ptr().add(raw_idx) as *const Option<PyStackRef>) } |
| 350 | } |
| 351 | |
| 352 | /// Get a mutable reference to a stack slot by index from the bottom. |
| 353 | #[inline(always)] |
no test coverage detected