[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 20 17:12:01 PDT 2002
Changes in directory llvm/lib/Analysis/DataStructure:
BottomUpClosure.cpp updated: 1.20 -> 1.21
---
Log message:
Split some long lines
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.20 llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.21
--- llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.20 Sun Oct 20 16:41:02 2002
+++ llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp Sun Oct 20 17:11:17 2002
@@ -104,7 +104,8 @@
// Start inlining all of the functions we can... some may not be
// inlinable if they are external...
//
- std::vector<GlobalValue*> Callees(Call.getCalleeNode().getNode()->getGlobals());
+ std::vector<GlobalValue*> Callees =
+ Call.getCalleeNode().getNode()->getGlobals();
// Loop over the functions, inlining whatever we can...
for (unsigned c = 0; c != Callees.size(); ++c) {
@@ -114,10 +115,10 @@
if (&FI == &F) {
// Self recursion... simply link up the formal arguments with the
// actual arguments...
-
DEBUG(std::cerr << "\t[BU] Self Inlining: " << F.getName() << "\n");
- if (Call.getReturnValueNode().getNode()) // Handle the return value if present...
+ // Handle the return value if present...
+ if (Call.getReturnValueNode().getNode())
Graph->getRetNode().mergeWith(Call.getReturnValueNode());
// Resolve the arguments in the call to the actual values...
More information about the llvm-commits
mailing list