mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 10:54:42 +00:00
Fix assert condition.
llvm-svn: 146987
This commit is contained in:
parent
6f3beda2b4
commit
843255f890
@ -65,7 +65,7 @@ void LiveRangeCalc::extend(LiveInterval *LI,
|
||||
assert(DomTree && "Missing dominator tree");
|
||||
|
||||
MachineBasicBlock *KillMBB = Indexes->getMBBFromIndex(Kill.getPrevSlot());
|
||||
assert(Kill && "No MBB at Kill");
|
||||
assert(KillMBB && "No MBB at Kill");
|
||||
|
||||
// Is there a def in the same MBB we can extend?
|
||||
if (LI->extendInBlock(Indexes->getMBBStartIdx(KillMBB), Kill))
|
||||
|
Loading…
x
Reference in New Issue
Block a user