llvm-svn: 13340
This commit is contained in:
Brian Gaeke 2004-05-03 23:52:07 +00:00
parent 2157c9a49b
commit 5237476f75
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ bool TraceBasicBlocks::run(Module &M) {
unsigned BBNumber = 0;
for (Module::iterator F = M.begin(), E = M.end(); F != E; ++F)
for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) {
InsertInstrumentationCall (BB, "llvm_basic_block_trace", BBNumber);
InsertInstrumentationCall (BB, "llvm_trace_basic_block", BBNumber);
++BBNumber;
}