summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
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
commitfd16b72fc7a453ef39979df026e5f8536423cac0 (patch)
tree233a83bbac475a418eb0e478090931876344597a /llvm/lib/Analysis
parenta12d4c006577bbec6c37fc5fa632a1d8e5c5ceed (diff)
downloadbcm5719-llvm-fd16b72fc7a453ef39979df026e5f8536423cac0.tar.gz
bcm5719-llvm-fd16b72fc7a453ef39979df026e5f8536423cac0.zip
Split some long lines
llvm-svn: 4237
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
index 52b473883cc..89b6b01bf63 100644
--- a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/llvm/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...
OpenPOWER on IntegriCloud