mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +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");
|
RegisterOpt<BasicBlockTracer> Y("trace","Insert BB and Function trace code");
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
|
|
||||||
|
/// Just trace functions
|
||||||
Pass *llvm::createTraceValuesPassForFunction() { // Just trace functions
|
FunctionPass *llvm::createTraceValuesPassForFunction() {
|
||||||
return new FunctionTracer();
|
return new FunctionTracer();
|
||||||
}
|
}
|
||||||
|
|
||||||
Pass *llvm::createTraceValuesPassForBasicBlocks() { // Trace BB's and functions
|
/// Trace BB's and functions
|
||||||
|
FunctionPass *llvm::createTraceValuesPassForBasicBlocks() {
|
||||||
return new BasicBlockTracer();
|
return new BasicBlockTracer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Add a prototype for external functions used by the tracing code.
|
// Add a prototype for external functions used by the tracing code.
|
||||||
//
|
//
|
||||||
void ExternalFuncs::doInitialization(Module &M) {
|
void ExternalFuncs::doInitialization(Module &M) {
|
||||||
|
Loading…
Reference in New Issue
Block a user