Minor formatting fix to ARMBaseRegisterInfo::getCalleeSavedRegs
authorStephen Lin <stephenwlin@gmail.com>
Wed, 26 Jun 2013 20:19:06 +0000 (20:19 +0000)
committerStephen Lin <stephenwlin@gmail.com>
Wed, 26 Jun 2013 20:19:06 +0000 (20:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185016 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMBaseRegisterInfo.cpp

index f8ecc605f17e72358b45878c5f526ca24f862afd..3ba3b625d7dcf79f1a34a87dfac95ce12aa2312e 100644 (file)
@@ -58,13 +58,11 @@ ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
     ghcCall = (F ? F->getCallingConv() == CallingConv::GHC : false);
   }
  
-  if (ghcCall) {
-      return CSR_GHC_SaveList;
-  }
-  else {
-  return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
-    ? CSR_iOS_SaveList : CSR_AAPCS_SaveList;
-  }
+  if (ghcCall)
+    return CSR_GHC_SaveList;
+  else
+    return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
+      ? CSR_iOS_SaveList : CSR_AAPCS_SaveList;
 }
 
 const uint32_t*