[cfe-commits] r61534 - /cfe/trunk/Driver/Backend.cpp
Bill Wendling
isanbard at gmail.com
Wed Dec 31 11:51:31 PST 2008
Author: void
Date: Wed Dec 31 13:51:31 2008
New Revision: 61534
URL: http://llvm.org/viewvc/llvm-project?rev=61534&view=rev
Log:
Rename AddReadAttrs to FunctionAttrs. This is related to Duncan's patch r61525.
Modified:
cfe/trunk/Driver/Backend.cpp
Modified: cfe/trunk/Driver/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/Backend.cpp?rev=61534&r1=61533&r2=61534&view=diff
==============================================================================
--- cfe/trunk/Driver/Backend.cpp (original)
+++ cfe/trunk/Driver/Backend.cpp Wed Dec 31 13:51:31 2008
@@ -257,7 +257,7 @@
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
More information about the cfe-commits
mailing list