(&mut self)
| 1744 | |
| 1745 | #[inline(always)] |
| 1746 | pub fn pop_stack(&mut self) -> Value<'gc> { |
| 1747 | // debug_assert!(self.stack_top > 0, "Stack underflow"); |
| 1748 | if self.stack_top == 0 { |
| 1749 | return Value::Nil; |
| 1750 | } |
| 1751 | self.stack_top -= 1; |
| 1752 | unsafe { *self.stack.get_unchecked(self.stack_top) } |
| 1753 | } |
| 1754 | |
| 1755 | #[inline(always)] |
| 1756 | pub(crate) fn peek(&self, distance: usize) -> &Value<'gc> { |
no outgoing calls
no test coverage detected