[llvm-commits] CVS: llvm/lib/Analysis/IPA/CallGraph.cpp
Chris Lattner
sabre at nondot.org
Mon Oct 9 10:28:28 PDT 2006
Changes in directory llvm/lib/Analysis/IPA:
CallGraph.cpp updated: 1.57 -> 1.58
---
Log message:
Fix a bug pointed out by Zhongxing Xu
---
Diffs of the changes: (+1 -1)
CallGraph.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Analysis/IPA/CallGraph.cpp
diff -u llvm/lib/Analysis/IPA/CallGraph.cpp:1.57 llvm/lib/Analysis/IPA/CallGraph.cpp:1.58
--- llvm/lib/Analysis/IPA/CallGraph.cpp:1.57 Sun Aug 27 19:42:29 2006
+++ llvm/lib/Analysis/IPA/CallGraph.cpp Mon Oct 9 12:28:13 2006
@@ -193,7 +193,7 @@
}
void CallGraph::destroy() {
- if(!FunctionMap.size()) {
+ if (!FunctionMap.empty()) {
for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end();
I != E; ++I)
delete I->second;
More information about the llvm-commits
mailing list