mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +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) {
|
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {
|
||||||
ModulePass *MP = getContainedPass(Index);
|
ModulePass *MP = getContainedPass(Index);
|
||||||
|
|
||||||
dumpPassInfo(MP, EXECUTION_MSG, ON_MODULE_MSG,
|
dumpPassInfo(MP, EXECUTION_MSG, ON_MODULE_MSG, M.getModuleIdentifier());
|
||||||
M.getModuleIdentifier().c_str());
|
|
||||||
dumpRequiredSet(MP);
|
dumpRequiredSet(MP);
|
||||||
|
|
||||||
initializeAnalysisImpl(MP);
|
initializeAnalysisImpl(MP);
|
||||||
@ -1412,13 +1411,13 @@ MPPassManager::runOnModule(Module &M) {
|
|||||||
|
|
||||||
if (Changed)
|
if (Changed)
|
||||||
dumpPassInfo(MP, MODIFICATION_MSG, ON_MODULE_MSG,
|
dumpPassInfo(MP, MODIFICATION_MSG, ON_MODULE_MSG,
|
||||||
M.getModuleIdentifier().c_str());
|
M.getModuleIdentifier());
|
||||||
dumpPreservedSet(MP);
|
dumpPreservedSet(MP);
|
||||||
|
|
||||||
verifyPreservedAnalysis(MP);
|
verifyPreservedAnalysis(MP);
|
||||||
removeNotPreservedAnalysis(MP);
|
removeNotPreservedAnalysis(MP);
|
||||||
recordAvailableAnalysis(MP);
|
recordAvailableAnalysis(MP);
|
||||||
removeDeadPasses(MP, M.getModuleIdentifier().c_str(), ON_MODULE_MSG);
|
removeDeadPasses(MP, M.getModuleIdentifier(), ON_MODULE_MSG);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finalize on-the-fly passes
|
// Finalize on-the-fly passes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user