fix comments and documentation in file
authorChris Lattner <sabre@nondot.org>
Tue, 7 May 2002 19:04:39 +0000 (19:04 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 May 2002 19:04:39 +0000 (19:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2530 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/RaiseAllocations.cpp

index a0719e12bf9b5cf2dd85bd30b2805c3189f7b059..d5730985e8ae885b0a433fce44f9096707d40905 100644 (file)
@@ -1,9 +1,7 @@
-//===- ChangeAllocations.cpp - Modify %malloc & %free calls -----------------=//
+//===- RaiseAllocations.cpp - Convert %malloc & %free calls to insts ------===//
 //
-// This file defines two passes that convert malloc and free instructions to
-// calls to and from %malloc & %free function calls.  The LowerAllocations
-// transformation is a target dependant tranformation because it depends on the
-// size of data types and alignment constraints.
+// This file defines the RaiseAllocations pass which convert malloc and free
+// calls to malloc and free instructions.
 //
 //===----------------------------------------------------------------------===//
 
@@ -76,7 +74,7 @@ bool RaiseAllocations::doInitialization(Module *M) {
   return false;
 }
 
-// doOneCleanupPass - Do one pass over the input method, fixing stuff up.
+// runOnBasicBlock - Process a basic block, fixing it up...
 //
 bool RaiseAllocations::runOnBasicBlock(BasicBlock *BB) {
   bool Changed = false;