mirror of
https://github.com/danog/ir.git
synced 2024-12-03 10:08:29 +01:00
Fix typo in the first place
This commit is contained in:
parent
2f4f8504d4
commit
827b8ebd9c
2
ir.g
2
ir.g
@ -205,7 +205,7 @@ ir_insn(ir_parser_ctx *p):
|
||||
DECNUMBER(IR_I32, &count)
|
||||
{if (op == IR_PHI || op == IR_SNAPSHOT) count.i32++;}
|
||||
{if (op == IR_CALL || op == IR_TAILCALL) count.i32+=2;}
|
||||
{if (count.i32 < 0 || count.i32 > 255) yy_error("bad bumber of operands");}
|
||||
{if (count.i32 < 0 || count.i32 > 255) yy_error("bad number of operands");}
|
||||
{ref = ir_emit_N(p->ctx, IR_OPT(op, t), count.i32);}
|
||||
( "("
|
||||
( val(p, op, 1, &op1)
|
||||
|
Loading…
Reference in New Issue
Block a user