diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-12-08 13:07:38 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-12-08 13:07:38 +0000 |
commit | 69cee6151df07c6fc8c1e4647a87e3ff78752e88 (patch) | |
tree | ebbd1bc47e842b07fead6ec8016aa2156542822a /lib | |
parent | 7a154cf22830857bc184566102abd8a2ada8df94 (diff) | |
download | external_llvm-69cee6151df07c6fc8c1e4647a87e3ff78752e88.zip external_llvm-69cee6151df07c6fc8c1e4647a87e3ff78752e88.tar.gz external_llvm-69cee6151df07c6fc8c1e4647a87e3ff78752e88.tar.bz2 |
Remove useless calls to c_str().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/PassManager.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index c07372c..52e8a82 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -1397,8 +1397,7 @@ MPPassManager::runOnModule(Module &M) { for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { ModulePass *MP = getContainedPass(Index); - dumpPassInfo(MP, EXECUTION_MSG, ON_MODULE_MSG, - M.getModuleIdentifier().c_str()); + dumpPassInfo(MP, EXECUTION_MSG, ON_MODULE_MSG, M.getModuleIdentifier()); dumpRequiredSet(MP); initializeAnalysisImpl(MP); @@ -1412,13 +1411,13 @@ MPPassManager::runOnModule(Module &M) { if (Changed) dumpPassInfo(MP, MODIFICATION_MSG, ON_MODULE_MSG, - M.getModuleIdentifier().c_str()); + M.getModuleIdentifier()); dumpPreservedSet(MP); verifyPreservedAnalysis(MP); removeNotPreservedAnalysis(MP); recordAvailableAnalysis(MP); - removeDeadPasses(MP, M.getModuleIdentifier().c_str(), ON_MODULE_MSG); + removeDeadPasses(MP, M.getModuleIdentifier(), ON_MODULE_MSG); } // Finalize on-the-fly passes |