Made the i386 ABI mark EBP as non-volatile,

because the unwinders typically can find its
value.

llvm-svn: 165266
This commit is contained in:
Sean Callanan 2012-10-04 22:24:27 +00:00
parent 84b163cf66
commit 48954c95a7
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ ABIMacOSX_i386::RegisterIsCalleeSaved (const RegisterInfo *reg_info)
switch (name[1])
{
case 'b':
if (name[2] == 'x' || name[2] == 'p')
if (name[2] == 'x') // ebp is volatile in the ABI, but the unwinders can find it
return name[3] == '\0';
break;
case 'd':