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:
48a0eec
)
fix warning when assertions disabled.
author
Chris Lattner
<sabre@nondot.org>
Sat, 21 Jun 2008 19:48:22 +0000
(19:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 21 Jun 2008 19:48:22 +0000
(19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52589
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/IntervalPartition.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/IntervalPartition.cpp
b/lib/Analysis/IntervalPartition.cpp
index a430cffc3580a22799b7255e5ad06d4920c06dee..2d5f1cd09021a627a10c8e64dbc43f47067f9837 100644
(file)
--- a/
lib/Analysis/IntervalPartition.cpp
+++ b/
lib/Analysis/IntervalPartition.cpp
@@
-91,8
+91,7
@@
bool IntervalPartition::runOnFunction(Function &F) {
//
IntervalPartition::IntervalPartition(IntervalPartition &IP, bool)
: FunctionPass((intptr_t) &ID) {
- Interval *FunctionStart = IP.getRootInterval();
- assert(FunctionStart && "Cannot operate on empty IntervalPartitions!");
+ assert(IP.getRootInterval() && "Cannot operate on empty IntervalPartitions!");
// Pass false to intervals_begin because we take ownership of it's memory
interval_part_interval_iterator I = intervals_begin(IP, false);