Remove unused Vm::frame_stack_mut() function
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -127,12 +127,6 @@ impl<'c> Vm<'c> {
|
||||
&self.stack()[self.frame().stack_base..]
|
||||
}
|
||||
|
||||
/// Mutably gets the current stack, starting at the frame's stack base.
|
||||
pub fn frame_stack_mut(&mut self) -> &mut [ObjP] {
|
||||
let index = self.frame().stack_base;
|
||||
&mut self.stack_mut()[index..]
|
||||
}
|
||||
|
||||
/// Current stack frame.
|
||||
pub fn frame(&self) -> &Frame {
|
||||
self.frames.last().unwrap()
|
||||
|
||||
Reference in New Issue
Block a user