aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-20 22:11:17 +0000
committerChris Lattner <sabre@nondot.org>2002-10-20 22:11:17 +0000
commit7836d609fa72ec8404d05f827b5e8be6be922fad (patch)
treec305b8b321d7676aca2697fdf8a8b8b33884c953 /lib/Analysis/DataStructure/BottomUpClosure.cpp
parent3ea6769070f532cebe6dc70c971510daa2b76847 (diff)
Split some long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r--lib/Analysis/DataStructure/BottomUpClosure.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp
index 52b473883c..89b6b01bf6 100644
--- a/lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -104,7 +104,8 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
// 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 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
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...