From 7836d609fa72ec8404d05f827b5e8be6be922fad Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 20 Oct 2002 22:11:17 +0000 Subject: [PATCH] Split some long lines git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4237 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/BottomUpClosure.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index 52b473883cc..89b6b01bf63 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 Callees(Call.getCalleeNode().getNode()->getGlobals()); + std::vector 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... -- 2.34.1