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_ppc.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_ppc.h')
-rw-r--r-- | src/lj_asm_ppc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm_ppc.h b/src/lj_asm_ppc.h index 7637f6a6..34bd721f 100644 --- a/src/lj_asm_ppc.h +++ b/src/lj_asm_ppc.h | |||
@@ -286,6 +286,7 @@ static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args) | |||
286 | else | 286 | else |
287 | ofs += 4; | 287 | ofs += 4; |
288 | } | 288 | } |
289 | checkmclim(as); | ||
289 | } | 290 | } |
290 | if ((ci->flags & CCI_VARARG)) /* Vararg calls need to know about FPR use. */ | 291 | if ((ci->flags & CCI_VARARG)) /* Vararg calls need to know about FPR use. */ |
291 | emit_tab(as, fpr == REGARG_FIRSTFPR ? PPCI_CRXOR : PPCI_CREQV, 6, 6, 6); | 292 | emit_tab(as, fpr == REGARG_FIRSTFPR ? PPCI_CRXOR : PPCI_CREQV, 6, 6, 6); |