mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove all remaining uses of Value::getNameStr().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -69,7 +69,7 @@ inline static void printEdgeCounter(ProfileInfo::Edge e,
|
||||
BasicBlock* b,
|
||||
unsigned i) {
|
||||
DEBUG(dbgs() << "--Edge Counter for " << (e) << " in " \
|
||||
<< ((b)?(b)->getNameStr():"0") << " (# " << (i) << ")\n");
|
||||
<< ((b)?(b)->getName():"0") << " (# " << (i) << ")\n");
|
||||
}
|
||||
|
||||
bool OptimalEdgeProfiler::runOnModule(Module &M) {
|
||||
@@ -127,7 +127,7 @@ bool OptimalEdgeProfiler::runOnModule(Module &M) {
|
||||
unsigned i = 0;
|
||||
for (Module::iterator F = M.begin(), E = M.end(); F != E; ++F) {
|
||||
if (F->isDeclaration()) continue;
|
||||
DEBUG(dbgs() << "Working on " << F->getNameStr() << "\n");
|
||||
DEBUG(dbgs() << "Working on " << F->getName() << "\n");
|
||||
|
||||
// Calculate a Maximum Spanning Tree with the edge weights determined by
|
||||
// ProfileEstimator. ProfileEstimator also assign weights to the virtual
|
||||
|
Reference in New Issue
Block a user