summaryrefslogtreecommitdiff
path: root/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-23 23:14:14 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-23 23:14:14 +0000
commit3a89110b6ef56a576c75d72eb89896e14e06dc84 (patch)
treeaf0f1a478953f69d9fffd24835918c5d9f9fdb51 /lib/MC/MCELFStreamer.cpp
parent2f9fe10f6fb347ab5f4ae2ea9782ecc17aee1a74 (diff)
downloadllvm-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 'lib/MC/MCELFStreamer.cpp')
-rw-r--r--lib/MC/MCELFStreamer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp
index 5fbbdd4b3e..47ac181346 100644
--- a/lib/MC/MCELFStreamer.cpp
+++ b/lib/MC/MCELFStreamer.cpp
@@ -53,10 +53,6 @@ inline void MCELFStreamer::SetSectionBss() {
MCELFStreamer::~MCELFStreamer() {
}
-void MCELFStreamer::InitToTextSection() {
- SetSectionText();
-}
-
void MCELFStreamer::InitSections() {
// This emulates the same behavior of GNU as. This makes it easier
// to compare the output as the major sections are in the same order.