diff options
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index a1e92003..7542c77c 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1198,7 +1198,7 @@ static void asm_collectargs(ASMState *as, IRIns *ir, | |||
1198 | const CCallInfo *ci, IRRef *args) | 1198 | const CCallInfo *ci, IRRef *args) |
1199 | { | 1199 | { |
1200 | uint32_t n = CCI_XNARGS(ci); | 1200 | uint32_t n = CCI_XNARGS(ci); |
1201 | lua_assert(n <= CCI_NARGS_MAX); | 1201 | lua_assert(n <= CCI_NARGS_MAX*2); /* Account for split args. */ |
1202 | if ((ci->flags & CCI_L)) { *args++ = ASMREF_L; n--; } | 1202 | if ((ci->flags & CCI_L)) { *args++ = ASMREF_L; n--; } |
1203 | while (n-- > 1) { | 1203 | while (n-- > 1) { |
1204 | ir = IR(ir->op1); | 1204 | ir = IR(ir->op1); |