Fix spurious red zone overflows in machine code generation.

This commit is contained in:
Mike Pall
2013-04-04 17:19:31 +02:00
parent 6ba65cefb0
commit 389822d606
4 changed files with 31 additions and 2 deletions

View File

@@ -512,6 +512,7 @@ static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args)
}
ofs += sizeof(intptr_t);
}
checkmclim(as);
}
#if LJ_64 && !LJ_ABI_WIN
if (patchnfpr) *patchnfpr = fpr - REGARG_FIRSTFPR;