Commit c69a1532 authored by ekuleshov's avatar ekuleshov
Browse files

fixed bug with xSTORE (from HEAD)

parent 1a189fcb
......@@ -260,7 +260,7 @@ public class Frame {
if (var > 0) {
Value local = getLocal(var - 1);
if (local != null && local.getSize() == 2) {
setLocal(var + 1, interpreter.newValue(null));
setLocal(var - 1, interpreter.newValue(null));
}
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment