From: Rafael Espindola Date: Fri, 31 Jan 2014 22:08:19 +0000 (+0000) Subject: Replace another use with hasRawTextSupport+EmitRawText with emitRawComment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b8f1606076b417d60211c7f0d240dd09c375ad4e;p=oota-llvm.git Replace another use with hasRawTextSupport+EmitRawText with emitRawComment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200582 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/AMDGPUAsmPrinter.cpp b/lib/Target/R600/AMDGPUAsmPrinter.cpp index aa38bc74ba4..43f32798054 100644 --- a/lib/Target/R600/AMDGPUAsmPrinter.cpp +++ b/lib/Target/R600/AMDGPUAsmPrinter.cpp @@ -80,7 +80,7 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) { OutStreamer.SwitchSection(getObjFileLowering().getTextSection()); EmitFunctionBody(); - if (isVerbose() && OutStreamer.hasRawTextSupport()) { + if (isVerbose()) { const MCSectionELF *CommentSection = Context.getELFSection(".AMDGPU.csdata", ELF::SHT_PROGBITS, 0, @@ -95,7 +95,7 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) { false); } else { R600MachineFunctionInfo *MFI = MF.getInfo(); - OutStreamer.EmitRawText( + OutStreamer.emitRawComment( Twine("SQ_PGM_RESOURCES:STACK_SIZE = " + Twine(MFI->StackSize))); } }