diff options
author | Mike Pall <mike> | 2013-04-04 17:19:31 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-04-04 17:19:31 +0200 |
commit | 389822d606045a953bd30e14ebc50ff97bce8a59 (patch) | |
tree | ec1fa02d2e0697737ef5f8cb87f619faf1d2e163 /src/lj_asm_x86.h | |
parent | 6ba65cefb0652d340f1729ce8d114cb3681e914a (diff) | |
download | luajit-389822d606045a953bd30e14ebc50ff97bce8a59.tar.gz luajit-389822d606045a953bd30e14ebc50ff97bce8a59.tar.bz2 luajit-389822d606045a953bd30e14ebc50ff97bce8a59.zip |
Fix spurious red zone overflows in machine code generation.
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r-- | src/lj_asm_x86.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 28aa2791..8bae1789 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -512,6 +512,7 @@ static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) | |||
512 | } | 512 | } |
513 | ofs += sizeof(intptr_t); | 513 | ofs += sizeof(intptr_t); |
514 | } | 514 | } |
515 | checkmclim(as); | ||
515 | } | 516 | } |
516 | #if LJ_64 && !LJ_ABI_WIN | 517 | #if LJ_64 && !LJ_ABI_WIN |
517 | if (patchnfpr) *patchnfpr = fpr - REGARG_FIRSTFPR; | 518 | if (patchnfpr) *patchnfpr = fpr - REGARG_FIRSTFPR; |