[llvm-commits] [poolalloc] r119173 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp

John Criswell criswell at uiuc.edu
Mon Nov 15 11:11:53 PST 2010


Author: criswell
Date: Mon Nov 15 13:11:53 2010
New Revision: 119173

URL: http://llvm.org/viewvc/llvm-project?rev=119173&view=rev
Log:
Improved comment formatting.
No functionality changes.

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=119173&r1=119172&r2=119173&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Mon Nov 15 13:11:53 2010
@@ -832,7 +832,10 @@
     } else if (CF->getName() == "pthread_create") {
       thread_creation_point = true;
 
-      //Get DSNode representing the DSNode of the function pointer Value of the pthread_create call
+      //
+      // Get DSNode representing the DSNode of the function pointer Value of
+      // the pthread_create call
+      //
       DSNode* thread_callee_node = G->getNodeForValue(CS.getArgument(2)).getNode();
       if(!thread_callee_node)
       {
@@ -841,7 +844,7 @@
     	  thread_callee_node = G->getNodeForValue(CFI->MapValueToOriginal(CS.getArgument(2))).getNode();
       }
 
-      //Fill in CF with the name of one of the functions in thread_callee_node
+      // Fill in CF with the name of one of the functions in thread_callee_node
       CF = const_cast<Function*>(dyn_cast<Function>(*thread_callee_node->globals_begin()));
     }
   }





More information about the llvm-commits mailing list