aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
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
commit3f8d3c7d72367244e56efd9ce2c64ef5905cb377 (patch)
tree3f0dca1fff5d1989f49af619177c999f6bb289ae /lib/CodeGen
parent04594aeffa3360882eb09a888a0970321b987b16 (diff)
downloadexternal_llvm-3f8d3c7d72367244e56efd9ce2c64ef5905cb377.zip
external_llvm-3f8d3c7d72367244e56efd9ce2c64ef5905cb377.tar.gz
external_llvm-3f8d3c7d72367244e56efd9ce2c64ef5905cb377.tar.bz2
Silence warning about parens for && within ||
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index a233a12..c491d49 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/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.");