aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_x86.h
diff options
context:
space:
mode:
authorMike Pall <mike>2013-04-04 17:19:31 +0200
committerMike Pall <mike>2013-04-04 17:19:31 +0200
commit389822d606045a953bd30e14ebc50ff97bce8a59 (patch)
treeec1fa02d2e0697737ef5f8cb87f619faf1d2e163 /src/lj_asm_x86.h
parent6ba65cefb0652d340f1729ce8d114cb3681e914a (diff)
downloadluajit-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.h1
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;