diff options
author | Mike Pall <mike> | 2013-05-13 19:49:46 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-05-13 19:49:46 +0200 |
commit | acda75ad2cc30cff0a390ae0d232a098296e517e (patch) | |
tree | 2aa351a4f6c1c2b8ff60b46c3974c148ed135d24 /src/lj_asm.c | |
parent | 23e47f2913623063936d8c8d8b25ee25a5db2070 (diff) | |
download | luajit-acda75ad2cc30cff0a390ae0d232a098296e517e.tar.gz luajit-acda75ad2cc30cff0a390ae0d232a098296e517e.tar.bz2 luajit-acda75ad2cc30cff0a390ae0d232a098296e517e.zip |
Refactor CCallInfo representation for split arguments.
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) { |