1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-svn: 13340
This commit is contained in:
Brian Gaeke 2004-05-03 23:52:07 +00:00
parent 6b569a35ba
commit a5b32230db

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;
}