mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Sink variable into assert
llvm-svn: 150841
This commit is contained in:
parent
27171ecf20
commit
a45b6e23d0
@ -1271,8 +1271,8 @@ void LiveIntervals::handleMove(MachineInstr* mi) {
|
||||
SlotIndex newIndex = mi->isInsideBundle() ?
|
||||
indexes_->getInstructionIndex(mi->getBundleStart()) :
|
||||
indexes_->insertMachineInstrInMaps(mi);
|
||||
MachineBasicBlock* mbb = mi->getParent();
|
||||
assert(getMBBStartIdx(mbb) <= oldIndex && oldIndex < getMBBEndIdx(mbb) &&
|
||||
assert(getMBBStartIdx(mi->getParent()) <= oldIndex &&
|
||||
oldIndex < getMBBEndIdx(mi->getParent()) &&
|
||||
"Cannot handle moves across basic block boundaries.");
|
||||
assert(!mi->isBundled() && "Can't handle bundled instructions yet.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user