mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
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
This commit is contained in:
@@ -80,7 +80,7 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
OutStreamer.SwitchSection(getObjFileLowering().getTextSection());
|
OutStreamer.SwitchSection(getObjFileLowering().getTextSection());
|
||||||
EmitFunctionBody();
|
EmitFunctionBody();
|
||||||
|
|
||||||
if (isVerbose() && OutStreamer.hasRawTextSupport()) {
|
if (isVerbose()) {
|
||||||
const MCSectionELF *CommentSection
|
const MCSectionELF *CommentSection
|
||||||
= Context.getELFSection(".AMDGPU.csdata",
|
= Context.getELFSection(".AMDGPU.csdata",
|
||||||
ELF::SHT_PROGBITS, 0,
|
ELF::SHT_PROGBITS, 0,
|
||||||
@@ -95,7 +95,7 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
false);
|
false);
|
||||||
} else {
|
} else {
|
||||||
R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>();
|
R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>();
|
||||||
OutStreamer.EmitRawText(
|
OutStreamer.emitRawComment(
|
||||||
Twine("SQ_PGM_RESOURCES:STACK_SIZE = " + Twine(MFI->StackSize)));
|
Twine("SQ_PGM_RESOURCES:STACK_SIZE = " + Twine(MFI->StackSize)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user