[llvm-commits] [poolalloc] r122097 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Fri Dec 17 14:51:22 PST 2010
Author: aggarwa4
Date: Fri Dec 17 16:51:22 2010
New Revision: 122097
URL: http://llvm.org/viewvc/llvm-project?rev=122097&view=rev
Log:
Formatting change. No functionality changed.
Modified:
poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
Modified: poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp?rev=122097&r1=122096&r2=122097&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Fri Dec 17 16:51:22 2010
@@ -948,21 +948,21 @@
sccee = callGraph.scc_end(F1); sccii != sccee; ++sccii){
if(SM.find(SM.getLeaderForGlobal(*sccii)) == SM.end())
continue;
- //
- // Get the information for this function. Since this is coming from DSA,
- // it should be an original function.
- //
- // This call site calls a function, that is not defined in this module
- if (!(Graphs.hasDSGraph(**sccii))) return;
- // For all other cases Func Info must exist.
- FuncInfo *CFI = PAInfo.getFuncInfo(**sccii);
- //
- // If this target takes more DSNodes than the last one we found, then
- // make *this* target our canonical target.
- //
- maxArgsWithNodes = CFI->ArgNodes.size();
- CF = *sccii;
- }
+ //
+ // Get the information for this function. Since this is coming from DSA,
+ // it should be an original function.
+ //
+ // This call site calls a function, that is not defined in this module
+ if (!(Graphs.hasDSGraph(**sccii))) return;
+ // For all other cases Func Info must exist.
+ FuncInfo *CFI = PAInfo.getFuncInfo(**sccii);
+ //
+ // If this target takes more DSNodes than the last one we found, then
+ // make *this* target our canonical target.
+ //
+ maxArgsWithNodes = CFI->ArgNodes.size();
+ CF = *sccii;
+ }
}
// Assuming the call graph is always correct. And if the call graph reports,
More information about the llvm-commits
mailing list