Skip to content
Permalink
Browse files
too many register push for else-less condtions; fix #3117
  • Loading branch information
matz committed Feb 22, 2016
1 parent 81acbd2 commit b8479b62d8c9fc5e2333dcc9b2ad396fc219795a
Showing 1 changed file with 0 additions and 4 deletions.
@@ -1358,10 +1358,6 @@ codegen(codegen_scope *s, node *tree, int val)
pos1 = genop_peep(s, MKOP_AsBx(OP_JMPNOT, cursp(), 0), NOVAL);

codegen(s, tree->cdr->car, val);
if (val && !(tree->cdr->car)) {
genop(s, MKOP_A(OP_LOADNIL, cursp()));
push();
}
if (e) {
if (val) pop();
pos2 = genop(s, MKOP_sBx(OP_JMP, 0));

0 comments on commit b8479b6

Please sign in to comment.