OS X: enable path in Jit64::stX. fix wxw assert on opening ConfigMain. __force_align_arg_pointer__ not needed on x64 builds

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5393 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman committed 2010-04-20 13:19:36 +00:00
1 parent 026450006a
commit c15b1d3219
4 files changed
+17 -13

No files matched your search

@@ -317,8 +317,7 @@ void Jit64::stX(UGeckoInstruction inst)
case 38: accessSize = 8; break; //stb
default: _assert_msg_(DYNA_REC, 0, "AWETKLJASDLKF"); return;
}
#if !defined(__APPLE__) && _M_X64
// This code path fails in OSX, not 100% sure why, seems to be from the gpr.SetImmediate
if (gpr.R(a).IsImm())
{
// If we already know the address through constant folding, we can do some
@@ -354,7 +353,7 @@ void Jit64::stX(UGeckoInstruction inst)
}
// Other IO not worth the trouble.
}
#endif
// Optimized stack access?
if (accessSize == 32 && !gpr.R(a).IsImm() && a == 1 && js.st.isFirstBlockOfFunction && jo.optimizeStack)
{