mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Remove useless STACKALIGN macro.
It only ever did anything on 32-bit OS X. Anyway, it wasn't even on the right functions, and these days ABI_PushRegistersAndAdjustStack should handle maintaining the ABI correctly.
This commit is contained in:
@ -56,8 +56,6 @@ extern const char *netplay_dolphin_ver;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define STACKALIGN
|
||||
|
||||
// An inheritable class to disallow the copy constructor and operator= functions
|
||||
class NonCopyable
|
||||
{
|
||||
@ -70,15 +68,7 @@ private:
|
||||
NonCopyable& operator=(NonCopyable& other);
|
||||
};
|
||||
|
||||
#ifdef __APPLE__
|
||||
// The Darwin ABI requires that stack frames be aligned to 16-byte boundaries.
|
||||
// This is only needed on i386 gcc - x86_64 already aligns to 16 bytes.
|
||||
#if defined __i386__ && defined __GNUC__
|
||||
#undef STACKALIGN
|
||||
#define STACKALIGN __attribute__((__force_align_arg_pointer__))
|
||||
#endif
|
||||
|
||||
#elif defined _WIN32
|
||||
#if defined _WIN32
|
||||
|
||||
// Memory leak checks
|
||||
#define CHECK_HEAP_INTEGRITY()
|
||||
|
Reference in New Issue
Block a user