Commit 750b7c20 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

pop register stack before rescue

parent 89a18e4f
......@@ -972,6 +972,7 @@ codegen(codegen_scope *s, node *tree, int val)
lp->pc1 = onerr;
if (tree->car) {
codegen(s, tree->car, val);
if (val) pop();
}
lp->type = LOOP_RESCUE;
noexc = new_label(s);
......
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