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