mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
Remove dead code.
llvm-svn: 200174
This commit is contained in:
parent
c1b8f12d60
commit
ba41c3a33d
@ -751,28 +751,6 @@ void ARMAsmPrinter::emitAttributes() {
|
||||
ATS.finishAttributeSection();
|
||||
}
|
||||
|
||||
void ARMAsmPrinter::emitARMAttributeSection() {
|
||||
// <format-version>
|
||||
// [ <section-length> "vendor-name"
|
||||
// [ <file-tag> <size> <attribute>*
|
||||
// | <section-tag> <size> <section-number>* 0 <attribute>*
|
||||
// | <symbol-tag> <size> <symbol-number>* 0 <attribute>*
|
||||
// ]+
|
||||
// ]*
|
||||
|
||||
if (OutStreamer.hasRawTextSupport())
|
||||
return;
|
||||
|
||||
const ARMElfTargetObjectFile &TLOFELF =
|
||||
static_cast<const ARMElfTargetObjectFile &>
|
||||
(getObjFileLowering());
|
||||
|
||||
OutStreamer.SwitchSection(TLOFELF.getAttributesSection());
|
||||
|
||||
// Format version
|
||||
OutStreamer.EmitIntValue(0x41, 1);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
static MCSymbol *getPICLabel(const char *Prefix, unsigned FunctionNumber,
|
||||
|
@ -87,9 +87,6 @@ private:
|
||||
// Helpers for EmitStartOfAsmFile() and EmitEndOfAsmFile()
|
||||
void emitAttributes();
|
||||
|
||||
// Helper for ELF .o only
|
||||
void emitARMAttributeSection();
|
||||
|
||||
// Generic helper used to emit e.g. ARMv5 mul pseudos
|
||||
void EmitPatchedInstruction(const MachineInstr *MI, unsigned TargetOpc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user