mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
TAI -> MAI
llvm-svn: 80899
This commit is contained in:
parent
8739ae0c8a
commit
344ada1f5e
@ -243,13 +243,13 @@ static int AssembleInput(const char *ProgName) {
|
||||
OwningPtr<MCStreamer> Str;
|
||||
|
||||
if (FileType == OFT_AssemblyFile) {
|
||||
const MCAsmInfo *TAI = TheTarget->createAsmInfo(TripleName);
|
||||
assert(TAI && "Unable to create target asm info!");
|
||||
const MCAsmInfo *MAI = TheTarget->createAsmInfo(TripleName);
|
||||
assert(MAI && "Unable to create target asm info!");
|
||||
|
||||
AP.reset(TheTarget->createAsmPrinter(*Out, *TM, TAI, true));
|
||||
AP.reset(TheTarget->createAsmPrinter(*Out, *TM, MAI, true));
|
||||
if (ShowEncoding)
|
||||
CE.reset(TheTarget->createCodeEmitter(*TM));
|
||||
Str.reset(createAsmStreamer(Ctx, *Out, *TAI, AP.get(), CE.get()));
|
||||
Str.reset(createAsmStreamer(Ctx, *Out, *MAI, AP.get(), CE.get()));
|
||||
} else {
|
||||
assert(FileType == OFT_ObjectFile && "Invalid file type!");
|
||||
CE.reset(TheTarget->createCodeEmitter(*TM));
|
||||
|
Loading…
Reference in New Issue
Block a user