diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-23 23:14:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-23 23:14:14 +0000 |
commit | 3a89110b6ef56a576c75d72eb89896e14e06dc84 (patch) | |
tree | af0f1a478953f69d9fffd24835918c5d9f9fdb51 /include | |
parent | 2f9fe10f6fb347ab5f4ae2ea9782ecc17aee1a74 (diff) | |
download | llvm-3a89110b6ef56a576c75d72eb89896e14e06dc84.tar.gz llvm-3a89110b6ef56a576c75d72eb89896e14e06dc84.tar.bz2 llvm-3a89110b6ef56a576c75d72eb89896e14e06dc84.tar.xz |
InitToTextSection is redundant with InitSections. Remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCELFStreamer.h | 1 | ||||
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/MC/MCELFStreamer.h b/include/llvm/MC/MCELFStreamer.h index 72b7075c6f..c9ec720b9b 100644 --- a/include/llvm/MC/MCELFStreamer.h +++ b/include/llvm/MC/MCELFStreamer.h @@ -46,7 +46,6 @@ public: /// @{ virtual void InitSections(); - virtual void InitToTextSection(); virtual void ChangeSection(const MCSection *Section, const MCExpr *Subsection); virtual void EmitLabel(MCSymbol *Symbol); diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 62e5d6bcd0..870cc874b0 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -344,9 +344,6 @@ public: /// InitSections - Create the default sections and set the initial one. virtual void InitSections() = 0; - /// InitToTextSection - Create a text section and switch the streamer to it. - virtual void InitToTextSection() = 0; - /// AssignSection - Sets the symbol's section. /// /// Each emitted symbol will be tracked in the ordering table, |