summaryrefslogtreecommitdiffstats
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
commit03453a0e394df4902f3bc3550671ae5d8f1893f7 (patch)
treeccbfad371f126bed9892217fbeea1fb1470a7eac
parent77f791dd5bb32c2ec6ce94e852fd2ae838ed0f29 (diff)
downloadbcm5719-llvm-03453a0e394df4902f3bc3550671ae5d8f1893f7.tar.gz
bcm5719-llvm-03453a0e394df4902f3bc3550671ae5d8f1893f7.zip
fix comments and documentation in file
llvm-svn: 2530
-rw-r--r--llvm/lib/Transforms/IPO/RaiseAllocations.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/IPO/RaiseAllocations.cpp b/llvm/lib/Transforms/IPO/RaiseAllocations.cpp
index a0719e12bf9..d5730985e8a 100644
--- a/llvm/lib/Transforms/IPO/RaiseAllocations.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud