RegisterIsCalleeSaved. Add ebp back to the list of registers that
are callee saved.
<rdar://problem/
12817918>
llvm-svn: 169466
bool
ABIMacOSX_i386::RegisterIsVolatile (const RegisterInfo *reg_info)
{
- return RegisterIsCalleeSaved (reg_info);
+ return !RegisterIsCalleeSaved (reg_info);
}
// v. http://developer.apple.com/library/mac/#documentation/developertools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html#//apple_ref/doc/uid/TP40002492-SW4
switch (name[1])
{
case 'b':
- if (name[2] == 'x')// || name[2] == 'p')
+ if (name[2] == 'x' || name[2] == 'p')
return name[3] == '\0';
break;
case 'd':