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 9d874ddb..a1e92003 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1197,7 +1197,7 @@ static void asm_newref(ASMState *as, IRIns *ir) | |||
1197 | static void asm_collectargs(ASMState *as, IRIns *ir, | 1197 | 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_NARGS(ci); | 1200 | uint32_t n = CCI_XNARGS(ci); |
1201 | lua_assert(n <= CCI_NARGS_MAX); | 1201 | lua_assert(n <= CCI_NARGS_MAX); |
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) { |