aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_x86.h
diff options
context:
space:
mode:
authorMike Pall <mike>2013-05-16 20:07:53 +0200
committerMike Pall <mike>2013-05-16 20:07:53 +0200
commit647cc4613f3acd5ec8785920102af22b85cf2b9c (patch)
treee73f6e3ef1201884eb4be43097c51e1df80d9a7f /src/lj_asm_x86.h
parenta946f678d553494ee23a29a10cced1d5cc11ab7e (diff)
parent0f79d4741f29637de1eaaa603fdd0d161feb390d (diff)
downloadluajit-647cc4613f3acd5ec8785920102af22b85cf2b9c.tar.gz
luajit-647cc4613f3acd5ec8785920102af22b85cf2b9c.tar.bz2
luajit-647cc4613f3acd5ec8785920102af22b85cf2b9c.zip
Merge branch 'master' into v2.1
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r--src/lj_asm_x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index 3a029970..25da5246 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -600,7 +600,7 @@ static void *asm_callx_func(ASMState *as, IRIns *irf, IRRef func)
600 600
601static void asm_callx(ASMState *as, IRIns *ir) 601static void asm_callx(ASMState *as, IRIns *ir)
602{ 602{
603 IRRef args[CCI_NARGS_MAX]; 603 IRRef args[CCI_NARGS_MAX*2];
604 CCallInfo ci; 604 CCallInfo ci;
605 IRRef func; 605 IRRef func;
606 IRIns *irf; 606 IRIns *irf;
@@ -2593,7 +2593,7 @@ static void asm_tail_prep(ASMState *as)
2593/* Ensure there are enough stack slots for call arguments. */ 2593/* Ensure there are enough stack slots for call arguments. */
2594static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci) 2594static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci)
2595{ 2595{
2596 IRRef args[CCI_NARGS_MAX]; 2596 IRRef args[CCI_NARGS_MAX*2];
2597 int nslots; 2597 int nslots;
2598 asm_collectargs(as, ir, ci, args); 2598 asm_collectargs(as, ir, ci, args);
2599 nslots = asm_count_call_slots(as, ci, args); 2599 nslots = asm_count_call_slots(as, ci, args);