mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-27 17:41:25 +00:00
Fix assert condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25101bb2a7
commit
aa13482784
@ -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