unconditionally request MMI

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82716 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-09-24 21:45:57 +00:00
parent ad78500712
commit fe03dbeaa3

View File

@ -49,11 +49,7 @@ class VISIBILITY_HIDDEN X86AsmPrinter : public AsmPrinter {
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
if (Subtarget->isTargetDarwin() ||
Subtarget->isTargetELF() ||
Subtarget->isTargetCygMing()) {
AU.addRequired<MachineModuleInfo>();
}
AU.addRequired<MachineModuleInfo>();
AU.addRequired<DwarfWriter>();
AsmPrinter::getAnalysisUsage(AU);
}