summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-07-10 12:06:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-07-10 12:06:22 +0000
commit68eec39bca280f98bef1256a5e89531ac1a77d1a (patch)
tree7a653c65e7cc72d8cd171b894dd7488420543062 /lib
parent44dafc703ca62b09eecde762ba135f67c95c05b2 (diff)
downloadllvm-68eec39bca280f98bef1256a5e89531ac1a77d1a.tar.gz
llvm-68eec39bca280f98bef1256a5e89531ac1a77d1a.tar.bz2
llvm-68eec39bca280f98bef1256a5e89531ac1a77d1a.tar.xz
Add parentheses yet again to satisfy GCC's warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index b9a9ecaac8..182bd99371 100644
--- a/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/lib/Target/ARM/ARMBaseRegisterInfo.cpp
@@ -828,9 +828,9 @@ ARMBaseRegisterInfo::processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
// FIXME: We could add logic to be more precise about negative offsets
// and which instructions will need a scratch register for them. Is it
// worth the effort and added fragility?
- bool BigStack = RS &&
- (estimateStackSize(MF) + (hasFP(MF) ? 4:0) >= estimateRSStackSizeLimit(MF))
- || MFI->hasVarSizedObjects();
+ bool BigStack =
+ (RS && (estimateStackSize(MF) + (hasFP(MF) ? 4:0) >=
+ estimateRSStackSizeLimit(MF))) || MFI->hasVarSizedObjects();
bool ExtraCSSpill = false;
if (BigStack || !CanEliminateFrame || cannotEliminateFrame(MF)) {