summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-01-27 23:52:25 +0000
committerLang Hames <lhames@gmail.com>2012-01-27 23:52:25 +0000
commita6958c6c4e633cdad241d0827378bb8fc812defb (patch)
tree1c36e1ab065a7900f5c77654c28c385bd807fe4b /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parentbb893fea6b142c52d7d73fb3fd4332e31d11644d (diff)
downloadbcm5719-llvm-a6958c6c4e633cdad241d0827378bb8fc812defb.tar.gz
bcm5719-llvm-a6958c6c4e633cdad241d0827378bb8fc812defb.zip
Silence warning about parens for && within ||
llvm-svn: 149152
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index a233a12267b..c491d49a969 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -935,7 +935,7 @@ static void handleMoveUses(const MachineBasicBlock *mbb,
void LiveIntervals::moveInstr(MachineBasicBlock::iterator insertPt,
MachineInstr *mi) {
MachineBasicBlock* mbb = mi->getParent();
- assert(insertPt == mbb->end() || insertPt->getParent() == mbb &&
+ assert((insertPt == mbb->end() || insertPt->getParent() == mbb) &&
"Cannot handle moves across basic block boundaries.");
assert(&*insertPt != mi && "No-op move requested?");
assert(!mi->isInsideBundle() && "Can't handle bundled instructions yet.");
OpenPOWER on IntegriCloud