summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-09-30 01:22:57 -0400
committercomex <comexk@gmail.com>2014-09-30 01:42:47 -0400
commit2eebdff01ba260a5d517a0b208ede697e4d67323 (patch)
tree60bcbc1920ba8a089ebb2468e0ae3faa8ef069a0 /Source/Core/Common
parent5d61081f919a4e5d3acbd161edda28f33f21ecdd (diff)
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.
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/Common.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/Core/Common/Common.h b/Source/Core/Common/Common.h
index 09214b35f4..acb73cab2f 100644
--- a/Source/Core/Common/Common.h
+++ b/Source/Core/Common/Common.h
@@ -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()