diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:31:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:31:12 +0000 |
commit | a4c1bc74b9773453bcb0948c91cb01d7473bd228 (patch) | |
tree | e02c485165f009e43abed00950595d868b57ccad /llvm/lib/Analysis | |
parent | 3c9b2420dfbbc9b4b623437e0209588176e08888 (diff) | |
download | bcm5719-llvm-a4c1bc74b9773453bcb0948c91cb01d7473bd228.tar.gz bcm5719-llvm-a4c1bc74b9773453bcb0948c91cb01d7473bd228.zip |
Fit to 80 cols
llvm-svn: 29922
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/CallTargets.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/DataStructure/CallTargets.cpp b/llvm/lib/Analysis/DataStructure/CallTargets.cpp index eb1e28dcc69..8b33cb0cb14 100644 --- a/llvm/lib/Analysis/DataStructure/CallTargets.cpp +++ b/llvm/lib/Analysis/DataStructure/CallTargets.cpp @@ -58,8 +58,10 @@ void CallTargetFinder::findIndTargets(Module &M) } 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 @@ void CallTargetFinder::print(std::ostream &O, const Module *M) const { 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)) { |