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:
ecdb9f9
)
Fix a bug pointed out by Zhongxing Xu
author
Chris Lattner
<sabre@nondot.org>
Mon, 9 Oct 2006 17:28:13 +0000
(17:28 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 9 Oct 2006 17:28:13 +0000
(17:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30831
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/IPA/CallGraph.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/IPA/CallGraph.cpp
b/lib/Analysis/IPA/CallGraph.cpp
index dab6867d323006d2259c83e610ea69b90b294ee5..d9e7242695cffb4cf205a001e8512e1b71ae0584 100644
(file)
--- a/
lib/Analysis/IPA/CallGraph.cpp
+++ b/
lib/Analysis/IPA/CallGraph.cpp
@@
-193,7
+193,7
@@
void CallGraph::initialize(Module &M) {
}
void CallGraph::destroy() {
- if
(!FunctionMap.size
()) {
+ if
(!FunctionMap.empty
()) {
for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end();
I != E; ++I)
delete I->second;