♻️ refactor: remove unused fn
parent
448ecc08d2
commit
79e9df852c
|
@ -86,11 +86,6 @@ impl State {
|
||||||
&self.registers [frame.register_offset..]
|
&self.registers [frame.register_offset..]
|
||||||
}
|
}
|
||||||
|
|
||||||
fn register_window_mut (&mut self) -> &mut [Value] {
|
|
||||||
let frame = self.stack.last ().unwrap ();
|
|
||||||
&mut self.registers [frame.register_offset..]
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Short form to get access to a register within our window
|
/// Short form to get access to a register within our window
|
||||||
|
|
||||||
fn reg (&self, i: u8) -> &Value {
|
fn reg (&self, i: u8) -> &Value {
|
||||||
|
|
Loading…
Reference in New Issue