change this back too

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-04-04 05:09:10 +00:00
parent e1783cadf7
commit d32c8a5617

View File

@ -101,7 +101,7 @@ void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
} }
bool AsmPrinter::doInitialization(Module &M) { bool AsmPrinter::doInitialization(Module &M) {
MMI = &getAnalysis<MachineModuleInfo>(); MMI = getAnalysisIfAvailable<MachineModuleInfo>();
MMI->AnalyzeModule(M); MMI->AnalyzeModule(M);
// Initialize TargetLoweringObjectFile. // Initialize TargetLoweringObjectFile.