[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/TraceValues.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Thu Sep 30 13:14:28 PDT 2004



Changes in directory llvm/lib/Transforms/Instrumentation:

TraceValues.cpp updated: 1.69 -> 1.70
---
Log message:

Correct type of accessor functions.


---
Diffs of the changes:  (+4 -4)

Index: llvm/lib/Transforms/Instrumentation/TraceValues.cpp
diff -u llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.69 llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.70
--- llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.69	Wed Sep  1 17:55:36 2004
+++ llvm/lib/Transforms/Instrumentation/TraceValues.cpp	Thu Sep 30 15:14:18 2004
@@ -108,16 +108,16 @@
   RegisterOpt<BasicBlockTracer> Y("trace","Insert BB and Function trace code");
 } // end anonymous namespace
 
-
-Pass *llvm::createTraceValuesPassForFunction() {     // Just trace functions
+/// Just trace functions
+FunctionPass *llvm::createTraceValuesPassForFunction() {
   return new FunctionTracer();
 }
 
-Pass *llvm::createTraceValuesPassForBasicBlocks() {  // Trace BB's and functions
+/// Trace BB's and functions
+FunctionPass *llvm::createTraceValuesPassForBasicBlocks() {
   return new BasicBlockTracer();
 }
 
-
 // Add a prototype for external functions used by the tracing code.
 //
 void ExternalFuncs::doInitialization(Module &M) {






More information about the llvm-commits mailing list