summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/RaiseAllocations.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-07 19:04:39 +0000
committerChris Lattner <sabre@nondot.org>2002-05-07 19:04:39 +0000
commit65e96e57c5b8a1d6837c5c0866717c2e4aa9e2fc (patch)
tree4ccaf3f6d0bc472be9d1980662db340dbdfe8e02 /lib/Transforms/IPO/RaiseAllocations.cpp
parentade686e79bdd4938a5fe99257afce41ca27e736b (diff)
downloadllvm-65e96e57c5b8a1d6837c5c0866717c2e4aa9e2fc.tar.gz
llvm-65e96e57c5b8a1d6837c5c0866717c2e4aa9e2fc.tar.bz2
llvm-65e96e57c5b8a1d6837c5c0866717c2e4aa9e2fc.tar.xz
fix comments and documentation in file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/RaiseAllocations.cpp')
-rw-r--r--lib/Transforms/IPO/RaiseAllocations.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/Transforms/IPO/RaiseAllocations.cpp b/lib/Transforms/IPO/RaiseAllocations.cpp
index a0719e12bf..d5730985e8 100644
--- a/lib/Transforms/IPO/RaiseAllocations.cpp
+++ b/lib/Transforms/IPO/RaiseAllocations.cpp
@@ -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;