Printer.cpp: Ditch addRequired/getAnalysis, because they leave
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 23 Jul 2003 20:25:08 +0000 (20:25 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 23 Jul 2003 20:25:08 +0000 (20:25 +0000)
commitde420aee32ea799eada24afb59857040172c75d1
treece9c881d05b1399c859bf7e4c101221e14d6285a
parentb6ede8aaa0501f875f8b3b73fcd5e4bc71b4c2e2
Printer.cpp: Ditch addRequired/getAnalysis, because they leave
  Printer::doFinalization() out in the cold.  Now we pass in a TargetMachine
  to Printer's constructor and get the TargetData from the TargetMachine.
 Don't pass TargetMachine or MRegisterInfo objects around in the Printer.
 Constify TargetData references.
X86.h: Update comment and prototype of createX86CodePrinterPass().
X86TargetMachine.cpp: Update callers of createX86CodePrinterPass().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7275 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/Printer.cpp
lib/Target/X86/X86.h
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86TargetMachine.cpp