need to adjust register pos after rescue

This commit is contained in:
Yukihiro Matsumoto
2012-06-14 03:26:36 +09:00
parent f1ec5f5d50
commit 30b1904859
+1
View File
@@ -914,6 +914,7 @@ codegen(codegen_scope *s, node *tree, int val)
genop(s, MKOP_A(OP_RAISE, exc));
}
}
pop();
tree = tree->cdr;
dispatch(s, noexc);
genop(s, MKOP_A(OP_POPERR, 1));