Unverified Commit 282f907f authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4923 from dearblue/kwargs-block

Fix ainfo with keyword arguments; fix #4921
parents d82e9189 541185ef
...@@ -771,7 +771,7 @@ lambda_body(codegen_scope *s, node *tree, int blk) ...@@ -771,7 +771,7 @@ lambda_body(codegen_scope *s, node *tree, int blk)
s->ainfo = (((ma+oa) & 0x3f) << 7) /* (12bits = 5:1:5:1) */ s->ainfo = (((ma+oa) & 0x3f) << 7) /* (12bits = 5:1:5:1) */
| ((ra & 0x1) << 6) | ((ra & 0x1) << 6)
| ((pa & 0x1f) << 1) | ((pa & 0x1f) << 1)
| (kd & 0x1); | ((ka | kd) != 0 ? 0x01 : 0x00);
genop_W(s, OP_ENTER, a); genop_W(s, OP_ENTER, a);
/* generate jump table for optional arguments initializer */ /* generate jump table for optional arguments initializer */
pos = new_label(s); pos = 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