unchecked access of instruction pc
This commit is contained in:
parent
dc74c2081a
commit
5d130b5271
|
@ -88,7 +88,7 @@ impl VM {
|
|||
}
|
||||
|
||||
loop {
|
||||
match &chunk.tape[frame.pc] {
|
||||
match unsafe { chunk.tape.get_unchecked(frame.pc) } {
|
||||
Instruction::LT(a, b, c) => {
|
||||
*r_reg!(a) = reg!(b).op_lt(reg!(c))?;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue