Reverting r1650. I don't think this change is the right approach: it

actually ends up *misaligning* the stack for the normal ABI_CallFunctionC
and friends.  I'll try to help come up with the correct fix; look for
another commit in a bit.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1662 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
magumagu9 2008-12-25 22:05:22 +00:00
parent 358333b94b
commit b92c831857
1 changed files with 0 additions and 2 deletions

View File

@ -103,7 +103,6 @@ void XEmitter::ABI_CallFunctionAC(void *func, const Gen::OpArg &arg1, u32 param2
}
void XEmitter::ABI_PushAllCalleeSavedRegsAndAdjustStack() {
ABI_AlignStack(0);
// Note: 4 * 4 = 16 bytes, so alignment is preserved.
PUSH(EBP);
PUSH(EBX);
@ -116,7 +115,6 @@ void XEmitter::ABI_PopAllCalleeSavedRegsAndAdjustStack() {
POP(ESI);
POP(EBX);
POP(EBP);
ABI_RestoreStack(0);
}
unsigned int XEmitter::ABI_GetAlignedFrameSize(unsigned int frameSize) {