Add forgotten loop_pop() in NODE_OP_ASGN codegen

This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-11-24 10:01:03 +09:00
parent f5a86ca530
commit dc4be19aab
+1
View File
@@ -1746,6 +1746,7 @@ codegen(codegen_scope *s, node *tree, int val)
genop(s, MKOP_A(OP_RESCUE, exc));
genop(s, MKOP_A(OP_LOADF, exc));
dispatch(s, noexc);
loop_pop(s, NOVAL);
}
else if ((intptr_t)tree->car->car == NODE_CALL) {
node *n = tree->car->cdr;