projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25101bb
)
Fix assert condition.
author
Lang Hames
<lhames@gmail.com>
Tue, 20 Dec 2011 20:23:40 +0000
(20:23 +0000)
committer
Lang Hames
<lhames@gmail.com>
Tue, 20 Dec 2011 20:23:40 +0000
(20:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146987
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveRangeCalc.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveRangeCalc.cpp
b/lib/CodeGen/LiveRangeCalc.cpp
index a7d5af5198e5fbf4ef96eb2569abee8162ebd49b..1d6c3c548652e45188d177c1a899d61154bcc9bf 100644
(file)
--- a/
lib/CodeGen/LiveRangeCalc.cpp
+++ b/
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(Kill
MBB
&& "No MBB at Kill");
// Is there a def in the same MBB we can extend?
if (LI->extendInBlock(Indexes->getMBBStartIdx(KillMBB), Kill))