Fix off by one error
This commit is contained in:
@@ -14,7 +14,7 @@ impl Frame {
|
|||||||
}
|
}
|
||||||
Frame {
|
Frame {
|
||||||
stack: Stack::new(),
|
stack: Stack::new(),
|
||||||
locals: vec![0; num_locals+1],
|
locals: vec![0; num_locals],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user