mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
Sink variable into assert
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fbc8dd306a
commit
0310038d5a
@ -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