mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Remove useless calls to c_str().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a154cf228
commit
69cee6151d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user