codegen.c: forgot to check `s2` extensively in `super` codegen.

parent 2b19a6c1
......@@ -2830,7 +2830,8 @@ codegen(codegen_scope *s, node *tree, int val)
st++;
}
else {
gen_blkmove(s, s2->ainfo, lv);
if (!s2) push();
else gen_blkmove(s, s2->ainfo, lv);
st++;
}
pop_n(st+1);
......
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