[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/CallTargets.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 27 15:31:26 PDT 2006
Changes in directory llvm/lib/Analysis/DataStructure:
CallTargets.cpp updated: 1.3 -> 1.4
---
Log message:
Fit to 80 cols
---
Diffs of the changes: (+6 -3)
CallTargets.cpp | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Index: llvm/lib/Analysis/DataStructure/CallTargets.cpp
diff -u llvm/lib/Analysis/DataStructure/CallTargets.cpp:1.3 llvm/lib/Analysis/DataStructure/CallTargets.cpp:1.4
--- llvm/lib/Analysis/DataStructure/CallTargets.cpp:1.3 Sun Aug 27 17:30:17 2006
+++ llvm/lib/Analysis/DataStructure/CallTargets.cpp Sun Aug 27 17:31:12 2006
@@ -58,8 +58,10 @@
}
if (N->isComplete() && !IndMap[cs].size()) {
++CompleteEmpty;
- std::cerr << "Call site empty: '" << cs.getInstruction()->getName()
- << "' In '" << cs.getInstruction()->getParent()->getParent()->getName()
+ std::cerr << "Call site empty: '"
+ << cs.getInstruction()->getName()
+ << "' In '"
+ << cs.getInstruction()->getParent()->getParent()->getName()
<< "'\n";
}
} else {
@@ -74,7 +76,8 @@
{
return;
O << "[* = incomplete] CS: func list\n";
- for (std::map<CallSite, std::vector<Function*> >::const_iterator ii = IndMap.begin(),
+ for (std::map<CallSite, std::vector<Function*> >::const_iterator ii =
+ IndMap.begin(),
ee = IndMap.end(); ii != ee; ++ii) {
if (!ii->first.getCalledFunction()) { //only print indirect
if (!isComplete(ii->first)) {
More information about the llvm-commits
mailing list