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_arm.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_arm.h')
-rw-r--r-- | src/lj_asm_arm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h index 039a2a9a..1e024dcd 100644 --- a/src/lj_asm_arm.h +++ b/src/lj_asm_arm.h | |||
@@ -338,7 +338,7 @@ static int asm_fusemadd(ASMState *as, IRIns *ir, ARMIns ai, ARMIns air) | |||
338 | /* Generate a call to a C function. */ | 338 | /* Generate a call to a C function. */ |
339 | static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) | 339 | static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) |
340 | { | 340 | { |
341 | uint32_t n, nargs = CCI_NARGS(ci); | 341 | uint32_t n, nargs = CCI_XNARGS(ci); |
342 | int32_t ofs = 0; | 342 | int32_t ofs = 0; |
343 | #if LJ_SOFTFP | 343 | #if LJ_SOFTFP |
344 | Reg gpr = REGARG_FIRSTGPR; | 344 | Reg gpr = REGARG_FIRSTGPR; |
@@ -2133,7 +2133,7 @@ static void asm_tail_prep(ASMState *as) | |||
2133 | static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) | 2133 | static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) |
2134 | { | 2134 | { |
2135 | IRRef args[CCI_NARGS_MAX]; | 2135 | IRRef args[CCI_NARGS_MAX]; |
2136 | uint32_t i, nargs = (int)CCI_NARGS(ci); | 2136 | uint32_t i, nargs = CCI_XNARGS(ci); |
2137 | int nslots = 0, ngpr = REGARG_NUMGPR, nfpr = REGARG_NUMFPR, fprodd = 0; | 2137 | int nslots = 0, ngpr = REGARG_NUMGPR, nfpr = REGARG_NUMFPR, fprodd = 0; |
2138 | asm_collectargs(as, ir, ci, args); | 2138 | asm_collectargs(as, ir, ci, args); |
2139 | for (i = 0; i < nargs; i++) { | 2139 | for (i = 0; i < nargs; i++) { |