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_x86.h | |
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_x86.h')
-rw-r--r-- | src/lj_asm_x86.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 2ab1dbf5..3a029970 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -384,7 +384,7 @@ static Reg asm_fuseloadm(ASMState *as, IRRef ref, RegSet allow, int is64) | |||
384 | /* Count the required number of stack slots for a call. */ | 384 | /* Count the required number of stack slots for a call. */ |
385 | static int asm_count_call_slots(ASMState *as, const CCallInfo *ci, IRRef *args) | 385 | static int asm_count_call_slots(ASMState *as, const CCallInfo *ci, IRRef *args) |
386 | { | 386 | { |
387 | uint32_t i, nargs = CCI_NARGS(ci); | 387 | uint32_t i, nargs = CCI_XNARGS(ci); |
388 | int nslots = 0; | 388 | int nslots = 0; |
389 | #if LJ_64 | 389 | #if LJ_64 |
390 | if (LJ_ABI_WIN) { | 390 | if (LJ_ABI_WIN) { |
@@ -417,7 +417,7 @@ static int asm_count_call_slots(ASMState *as, const CCallInfo *ci, IRRef *args) | |||
417 | /* Generate a call to a C function. */ | 417 | /* Generate a call to a C function. */ |
418 | static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) | 418 | static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) |
419 | { | 419 | { |
420 | uint32_t n, nargs = CCI_NARGS(ci); | 420 | uint32_t n, nargs = CCI_XNARGS(ci); |
421 | int32_t ofs = STACKARG_OFS; | 421 | int32_t ofs = STACKARG_OFS; |
422 | #if LJ_64 | 422 | #if LJ_64 |
423 | uint32_t gprs = REGARG_GPRS; | 423 | uint32_t gprs = REGARG_GPRS; |