[llvm-commits] CVS: llvm/lib/Target/X86/X86AsmPrinter.h
Jim Laskey
jlaskey at apple.com
Wed Jul 26 18:12:39 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86AsmPrinter.h updated: 1.23 -> 1.24
---
Log message:
Prevent creation of MachineDebugInfo for intel unless it is darwin. RC842.
---
Diffs of the changes: (+3 -1)
X86AsmPrinter.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86AsmPrinter.h
diff -u llvm/lib/Target/X86/X86AsmPrinter.h:1.23 llvm/lib/Target/X86/X86AsmPrinter.h:1.24
--- llvm/lib/Target/X86/X86AsmPrinter.h:1.23 Fri Jul 14 18:05:05 2006
+++ llvm/lib/Target/X86/X86AsmPrinter.h Wed Jul 26 20:12:23 2006
@@ -64,7 +64,9 @@
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
- AU.addRequired<MachineDebugInfo>();
+ if (Subtarget->TargetType == X86Subtarget::isDarwin) {
+ AU.addRequired<MachineDebugInfo>();
+ }
MachineFunctionPass::getAnalysisUsage(AU);
}
More information about the llvm-commits
mailing list