diff options
Diffstat (limited to 'src/ir_simpl.c')
| -rw-r--r-- | src/ir_simpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_simpl.c b/src/ir_simpl.c index d353cfa..1a3eb76 100644 --- a/src/ir_simpl.c +++ b/src/ir_simpl.c @@ -84,7 +84,7 @@ divmodk(Instr *ins, Block *blk, int *curi) static int doins(Instr *ins, Block *blk, int *curi) { - int narg = opnarg[ins->op]; + int narg = opnoper[ins->op]; if (oisarith(ins->op)) { Ref r = narg == 1 ? irunop(NULL, ins->op, ins->cls, ins->l) : irbinop(NULL, ins->op, ins->cls, ins->l, ins->r); |