Remove all remaining uses of Value::getNameStr().
[oota-llvm.git] / lib / Analysis / ProfileEstimatorPass.cpp
index b594e2ba55065e0a9ddc56b160e7a951d229a4f5..63468f842612db784e8b037c38f2e32383940147 100644 (file)
@@ -332,7 +332,7 @@ bool ProfileEstimatorPass::runOnFunction(Function &F) {
   // Clear Minimal Edges.
   MinimalWeight.clear();
 
-  DEBUG(dbgs() << "Working on function " << F.getNameStr() << "\n");
+  DEBUG(dbgs() << "Working on function " << F.getName() << "\n");
 
   // Since the entry block is the first one and has no predecessors, the edge
   // (0,entry) is inserted with the starting weight of 1.