[cfe-commits] r58342 - /cfe/trunk/Driver/Backend.cpp
Daniel Dunbar
daniel at zuster.org
Tue Oct 28 12:23:06 PDT 2008
Author: ddunbar
Date: Tue Oct 28 14:23:05 2008
New Revision: 58342
URL: http://llvm.org/viewvc/llvm-project?rev=58342&view=rev
Log:
Access pass manager consistently.
- No functionality change.
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=58342&r1=58341&r2=58342&view=diff
==============================================================================
--- cfe/trunk/Driver/Backend.cpp (original)
+++ cfe/trunk/Driver/Backend.cpp Tue Oct 28 14:23:05 2008
@@ -304,7 +304,7 @@
if (CompileOpts.OptimizationLevel > 1 && CompileOpts.UnitAtATime)
PM->add(createConstantMergePass()); // Merge dup global constants
} else {
- PerModulePasses->add(createAlwaysInlinerPass());
+ PM->add(createAlwaysInlinerPass());
}
}
More information about the cfe-commits
mailing list