Correct type of accessor functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-09-30 20:14:18 +00:00
parent ccb87cdf07
commit b3b1e33632

View File

@ -108,16 +108,16 @@ namespace {
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) {