summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2011-12-20 20:23:40 +0000
committerLang Hames <lhames@gmail.com>2011-12-20 20:23:40 +0000
commit6cee53d06ef86c1c4a201e96ef9ef9d575e68155 (patch)
tree00d9a39838cfd859eb9ca6539c400c927e279f11 /llvm/lib/CodeGen
parent96f8c551e3da84528e60298823c5ae3a30153bf8 (diff)
downloadbcm5719-llvm-6cee53d06ef86c1c4a201e96ef9ef9d575e68155.tar.gz
bcm5719-llvm-6cee53d06ef86c1c4a201e96ef9ef9d575e68155.zip
Fix assert condition.
llvm-svn: 146987
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/LiveRangeCalc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeCalc.cpp b/llvm/lib/CodeGen/LiveRangeCalc.cpp
index a7d5af5198e..1d6c3c54865 100644
--- a/llvm/lib/CodeGen/LiveRangeCalc.cpp
+++ b/llvm/lib/CodeGen/LiveRangeCalc.cpp
@@ -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))
OpenPOWER on IntegriCloud