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

John Criswell criswell at uiuc.edu
Mon Feb 18 11:49:35 PST 2008


Author: criswell
Date: Mon Feb 18 13:49:35 2008
New Revision: 47283

URL: http://llvm.org/viewvc/llvm-project?rev=47283&view=rev
Log:
Fixed line wrapping of comments.
No functionality changes.

Modified:
    poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp

Modified: poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp?rev=47283&r1=47282&r2=47283&view=diff

==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp Mon Feb 18 13:49:35 2008
@@ -135,10 +135,10 @@
 
   std::map<Function*, Function*> FuncMap;
 
-  // Now clone a function using the pool arg list obtained in the previous pass
-  // over the modules.  Loop over only the function initially in the program,
-  // don't traverse newly added ones.  If the function needs new arguments, make
-  // its clone.
+  // Now clone a function using the pool arg list obtained in the previous
+  // pass over the modules.  Loop over only the function initially in the
+  // program, don't traverse newly added ones.  If the function needs new
+  // arguments, make its clone.
   std::set<Function*> ClonedFunctions;
 {TIME_REGION(X, "MakeFunctionClone");
   for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
@@ -379,7 +379,8 @@
   ++NumCloned;
  
       
-  // Figure out what the arguments are to be for the new version of the function
+  // Figure out what the arguments are to be for the new version of the
+  // function
   const FunctionType *OldFuncTy = F.getFunctionType();
   std::vector<const Type*> ArgTys(FI.ArgNodes.size(), PoolDescPtrTy);
   ArgTys.reserve(OldFuncTy->getNumParams() + FI.ArgNodes.size());





More information about the llvm-commits mailing list