diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
commit | 7b26fce23e5f733d1a614beae71d0499e78aeab1 (patch) | |
tree | c952f7380295ff3ba73e21eff6c90dafd9cfdf85 /llvm/lib/CodeGen/MachOWriter.cpp | |
parent | 259717287abf3ec138f6c149cbe7703315848d43 (diff) | |
download | bcm5719-llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.tar.gz bcm5719-llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.zip |
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
llvm-svn: 79763
Diffstat (limited to 'llvm/lib/CodeGen/MachOWriter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachOWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachOWriter.cpp b/llvm/lib/CodeGen/MachOWriter.cpp index 0ce9044e858..6b7441e1656 100644 --- a/llvm/lib/CodeGen/MachOWriter.cpp +++ b/llvm/lib/CodeGen/MachOWriter.cpp @@ -29,7 +29,7 @@ #include "llvm/DerivedTypes.h" #include "llvm/Module.h" #include "llvm/PassManager.h" -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" #include "llvm/Target/TargetData.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetMachOWriterInfo.h" @@ -61,7 +61,7 @@ MachOWriter::MachOWriter(raw_ostream &o, TargetMachine &tm) is64Bit = TM.getTargetData()->getPointerSizeInBits() == 64; isLittleEndian = TM.getTargetData()->isLittleEndian(); - TAI = TM.getTargetAsmInfo(); + TAI = TM.getMCAsmInfo(); // Create the machine code emitter object for this target. MachOCE = new MachOCodeEmitter(*this, *getTextSection(true)); @@ -743,7 +743,7 @@ void MachOWriter::InitMem(const Constant *C, uintptr_t Offset, //===----------------------------------------------------------------------===// MachOSym::MachOSym(const GlobalValue *gv, std::string name, uint8_t sect, - const TargetAsmInfo *TAI) : + const MCAsmInfo *TAI) : GV(gv), n_strx(0), n_type(sect == NO_SECT ? N_UNDF : N_SECT), n_sect(sect), n_desc(0), n_value(0) { |