summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 05:09:10 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 05:09:10 +0000
commit0124fe38a686a87e1c818901406544085a5d58e0 (patch)
treea3ce2b57429369c26187ad8702350eea590cf788 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentaa70abba05b97f440057b19f51b41c698d368398 (diff)
downloadbcm5719-llvm-0124fe38a686a87e1c818901406544085a5d58e0.tar.gz
bcm5719-llvm-0124fe38a686a87e1c818901406544085a5d58e0.zip
change this back too
llvm-svn: 100310
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 096bf918376..92946470e36 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -101,7 +101,7 @@ void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
}
bool AsmPrinter::doInitialization(Module &M) {
- MMI = &getAnalysis<MachineModuleInfo>();
+ MMI = getAnalysisIfAvailable<MachineModuleInfo>();
MMI->AnalyzeModule(M);
// Initialize TargetLoweringObjectFile.
OpenPOWER on IntegriCloud