diff options
author | Mike Pall <mike> | 2011-12-09 16:00:04 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-12-09 16:00:04 +0100 |
commit | 2591b4524ab2e27702bfc1f41b87348aab66e802 (patch) | |
tree | b34b60b5a5b069b0e44e9fc0663130215e8b42f1 /src/lj_asm_x86.h | |
parent | 63981436f7a31ecfd7b436c567bfdc98bf14bffd (diff) | |
download | luajit-2591b4524ab2e27702bfc1f41b87348aab66e802.tar.gz luajit-2591b4524ab2e27702bfc1f41b87348aab66e802.tar.bz2 luajit-2591b4524ab2e27702bfc1f41b87348aab66e802.zip |
x64: Always extend stack arguments to pointer size.
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r-- | src/lj_asm_x86.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 0eca5d5c..c1f0fc15 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -496,7 +496,7 @@ static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) | |||
496 | emit_movmroi(as, RID_ESP, ofs, ir->i); | 496 | emit_movmroi(as, RID_ESP, ofs, ir->i); |
497 | } else { | 497 | } else { |
498 | r = ra_alloc1(as, ref, RSET_GPR); | 498 | r = ra_alloc1(as, ref, RSET_GPR); |
499 | emit_movtomro(as, REX_64IR(ir, r), RID_ESP, ofs); | 499 | emit_movtomro(as, REX_64 + r, RID_ESP, ofs); |
500 | } | 500 | } |
501 | ofs += sizeof(intptr_t); | 501 | ofs += sizeof(intptr_t); |
502 | } | 502 | } |