1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-svn: 112385
This commit is contained in:
Chris Lattner 2010-08-28 20:34:35 +00:00
parent 415a2a0a9b
commit 0643b5f1f1

View File

@ -303,7 +303,8 @@ static int AssembleInput(const char *ProgName) {
MCCodeEmitter *CE = 0; MCCodeEmitter *CE = 0;
if (ShowEncoding) if (ShowEncoding)
CE = TheTarget->createCodeEmitter(*TM, Ctx); CE = TheTarget->createCodeEmitter(*TM, Ctx);
Str.reset(createAsmStreamer(Ctx, *Out,TM->getTargetData()->isLittleEndian(), Str.reset(createAsmStreamer(Ctx, *Out,
TM->getTargetData()->isLittleEndian(),
/*asmverbose*/true, IP, CE, ShowInst)); /*asmverbose*/true, IP, CE, ShowInst));
} else if (FileType == OFT_Null) { } else if (FileType == OFT_Null) {
Str.reset(createNullStreamer(Ctx)); Str.reset(createNullStreamer(Ctx));