change this back too

llvm-svn: 100310
This commit is contained in:
Chris Lattner 2010-04-04 05:09:10 +00:00
parent aa70abba05
commit 0124fe38a6
1 changed files with 1 additions and 1 deletions

View File

@ -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.