Remove Value::getName{Start,End}, the last of the old Name APIs.
[oota-llvm.git] / lib / Analysis / IPA / CallGraphSCCPass.cpp
index 3880d0a10bb675c28ec64f76beec36c9f9c0b2ba..df2f0f8bd6954afe1b1a6f552962763065d002bc 100644 (file)
@@ -109,7 +109,7 @@ bool CGPassManager::runOnModule(Module &M) {
         for (unsigned i = 0, e = SCC.size(); i != e; ++i) {
           Function *F = SCC[i]->getFunction();
           if (F) {
-            dumpPassInfo(P, EXECUTION_MSG, ON_FUNCTION_MSG, F->getNameStart());
+            dumpPassInfo(P, EXECUTION_MSG, ON_FUNCTION_MSG, F->getName());
             Changed |= FPP->runOnFunction(*F);
           }
         }