UseFramePointer should always be true on PowerPC

The Apple and SYSV ABIs specify that the stack/frame pointer is always
saved at the tip of the stack.
This commit is contained in:
Joel Dice 2011-03-01 10:59:00 -07:00
parent a0962d7ab2
commit 8f519531d4

View File

@ -22,7 +22,7 @@ const bool TailCalls = true;
const bool TailCalls = false;
#endif
#ifdef AVIAN_USE_FRAME_POINTER
#if (defined AVIAN_USE_FRAME_POINTER) || (defined ARCH_powerpc)
const bool UseFramePointer = true;
#else
const bool UseFramePointer = false;