wrong register adjustment

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-11-27 16:21:15 +09:00
parent dd14973697
commit e4ca706530
+1 -3
View File
@@ -1017,9 +1017,6 @@ gen_vmassignment(codegen_scope *s, node *tree, int rhs, int val)
}
}
}
if (!val) {
pop();
}
}
static void
@@ -1639,6 +1636,7 @@ codegen(codegen_scope *s, node *tree, int val)
/* variable rhs */
codegen(s, t, VAL);
gen_vmassignment(s, tree->car, rhs, val);
pop();
}
}
break;