aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-24 21:45:57 +0000
committerChris Lattner <sabre@nondot.org>2009-09-24 21:45:57 +0000
commitfe03dbeaa30187a75548d891cbe3f5cc97e73713 (patch)
tree1284309732c5344ddde5d2a4eeb8822ddfde3921
parentad78500712a48b0b93ba0430d7e20fe8531014f8 (diff)
downloadexternal_llvm-fe03dbeaa30187a75548d891cbe3f5cc97e73713.zip
external_llvm-fe03dbeaa30187a75548d891cbe3f5cc97e73713.tar.gz
external_llvm-fe03dbeaa30187a75548d891cbe3f5cc97e73713.tar.bz2
unconditionally request MMI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82716 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/AsmPrinter/X86AsmPrinter.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86AsmPrinter.h b/lib/Target/X86/AsmPrinter/X86AsmPrinter.h
index f661482..0351829 100644
--- a/lib/Target/X86/AsmPrinter/X86AsmPrinter.h
+++ b/lib/Target/X86/AsmPrinter/X86AsmPrinter.h
@@ -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);
}