diff options
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index a233a12267..c491d49a96 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."); |