mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Simplify / normalize some uses of Value::getName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -185,7 +185,7 @@ bool ProfileInfoPrinterPass::runOnModule(Module &M) {
|
||||
std::cout << std::setw(3) << i+1 << ". "
|
||||
<< std::setw(5) << FunctionCounts[i].second << "/"
|
||||
<< TotalExecutions << " "
|
||||
<< FunctionCounts[i].first->getName().c_str() << "\n";
|
||||
<< FunctionCounts[i].first->getName() << "\n";
|
||||
}
|
||||
|
||||
std::set<Function*> FunctionsToPrint;
|
||||
@ -219,8 +219,8 @@ bool ProfileInfoPrinterPass::runOnModule(Module &M) {
|
||||
<< Counts[i].second/(double)TotalExecutions*100 << "% "
|
||||
<< std::setw(5) << Counts[i].second << "/"
|
||||
<< TotalExecutions << "\t"
|
||||
<< F->getName().c_str() << "() - "
|
||||
<< Counts[i].first->getName().c_str() << "\n";
|
||||
<< F->getName() << "() - "
|
||||
<< Counts[i].first->getName() << "\n";
|
||||
FunctionsToPrint.insert(F);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user