aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 038f4d1c..316e81d6 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -948,7 +948,7 @@ static void asm_collectargs(ASMState *as, IRIns *ir,
948 const CCallInfo *ci, IRRef *args) 948 const CCallInfo *ci, IRRef *args)
949{ 949{
950 uint32_t n = CCI_NARGS(ci); 950 uint32_t n = CCI_NARGS(ci);
951 lua_assert(n <= CCI_NARGS_MAX); 951 lua_assert(n <= CCI_NARGS_MAX*2); /* Account for split args. */
952 if ((ci->flags & CCI_L)) { *args++ = ASMREF_L; n--; } 952 if ((ci->flags & CCI_L)) { *args++ = ASMREF_L; n--; }
953 while (n-- > 1) { 953 while (n-- > 1) {
954 ir = IR(ir->op1); 954 ir = IR(ir->op1);