[llvm-commits] [llvm] r149152 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Lang Hames
lhames at gmail.com
Fri Jan 27 15:52:25 PST 2012
Author: lhames
Date: Fri Jan 27 17:52:25 2012
New Revision: 149152
URL: http://llvm.org/viewvc/llvm-project?rev=149152&view=rev
Log:
Silence warning about parens for && within ||
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=149152&r1=149151&r2=149152&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Fri Jan 27 17:52:25 2012
@@ -935,7 +935,7 @@
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.");
More information about the llvm-commits
mailing list