commit | ea348585c80f5b1f51776dd850ecbdce034f2f19 | [log] [tgz] |
---|---|---|
author | Jim Laskey <jlaskey@mac.com> | Thu Jul 27 02:05:13 2006 +0000 |
committer | Jim Laskey <jlaskey@mac.com> | Thu Jul 27 02:05:13 2006 +0000 |
tree | 1b096350e8a41aa5a3ec8183fb1c527bbf7ac90b | |
parent | cc8414ffdb1155ad346c0edd8a19f7b5f68ca2b2 [diff] [blame] |
Use the predicate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29322 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86AsmPrinter.h b/lib/Target/X86/X86AsmPrinter.h index f4564c6..8ea10d5 100755 --- a/lib/Target/X86/X86AsmPrinter.h +++ b/lib/Target/X86/X86AsmPrinter.h
@@ -64,7 +64,7 @@ void getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); - if (Subtarget->TargetType == X86Subtarget::isDarwin) { + if (Subtarget->isTargetDarwin()) { AU.addRequired<MachineDebugInfo>(); } MachineFunctionPass::getAnalysisUsage(AU);