Fixed a bug in register size calculation; fix #3479

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-03-02 18:14:36 +09:00
parent 3390020fd0
commit 1ab7e7e4dc
+2
View File
@@ -1814,6 +1814,8 @@ codegen(codegen_scope *s, node *tree, int val)
for (i=0; i<nargs; i++) {
genop(s, MKOP_AB(OP_MOVE, cursp()+i+1, base+i+1));
}
push_n(nargs+1);
pop_n(nargs+1);
callargs = nargs;
}
else {