Fix ainfo with keyword arguments; fix #4921

This commit is contained in:
dearblue
2020-01-05 16:34:03 +09:00
parent d82e91898d
commit 541185ef14
+1 -1
View File
@@ -771,7 +771,7 @@ lambda_body(codegen_scope *s, node *tree, int blk)
s->ainfo = (((ma+oa) & 0x3f) << 7) /* (12bits = 5:1:5:1) */
| ((ra & 0x1) << 6)
| ((pa & 0x1f) << 1)
| (kd & 0x1);
| ((ka | kd) != 0 ? 0x01 : 0x00);
genop_W(s, OP_ENTER, a);
/* generate jump table for optional arguments initializer */
pos = new_label(s);