mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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) {
|
||||
|
||||
|
Reference in New Issue
Block a user