Rename AddReadAttrs to FunctionAttrs. This is related to Duncan's patch r61525.

llvm-svn: 61534
This commit is contained in:
Bill Wendling 2008-12-31 19:51:31 +00:00
parent 15a47ddf40
commit be504e82bc
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ void BackendConsumer::CreatePasses() {
PM->add(createCFGSimplificationPass()); // Clean up after IPCP & DAE
if (CompileOpts.UnitAtATime) {
PM->add(createPruneEHPass()); // Remove dead EH info
PM->add(createAddReadAttrsPass()); // Set readonly/readnone attrs
PM->add(createFunctionAttrsPass()); // Set readonly/readnone attrs
}
if (CompileOpts.InlineFunctions)
PM->add(createFunctionInliningPass()); // Inline small functions