mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
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:
parent
ccb87cdf07
commit
b3b1e33632
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user