summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCPureStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-24 02:42:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-24 02:42:26 +0000
commit61adb27de416f8b8d4661e236c450139e4c37062 (patch)
treec3f3fc9b7808940e86dd6e36739fd8654d38bc38 /llvm/lib/MC/MCPureStreamer.cpp
parent100859c60836ba285aece8d052eb3e0960610321 (diff)
downloadbcm5719-llvm-61adb27de416f8b8d4661e236c450139e4c37062.tar.gz
bcm5719-llvm-61adb27de416f8b8d4661e236c450139e4c37062.zip
Most streamers' InitSections just create a text section. Make that the default
llvm-svn: 199969
Diffstat (limited to 'llvm/lib/MC/MCPureStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCPureStreamer.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/MC/MCPureStreamer.cpp b/llvm/lib/MC/MCPureStreamer.cpp
index 8bb7a7bd40e..179ed1e0e82 100644
--- a/llvm/lib/MC/MCPureStreamer.cpp
+++ b/llvm/lib/MC/MCPureStreamer.cpp
@@ -34,7 +34,6 @@ public:
/// @name MCStreamer Interface
/// @{
- virtual void InitSections();
virtual void EmitLabel(MCSymbol *Symbol);
virtual void EmitDebugLabel(MCSymbol *Symbol);
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
@@ -104,10 +103,6 @@ public:
} // end anonymous namespace.
-void MCPureStreamer::InitSections() {
- SwitchSection(getContext().getObjectFileInfo()->getTextSection());
-}
-
void MCPureStreamer::EmitLabel(MCSymbol *Symbol) {
assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
assert(!Symbol->isVariable() && "Cannot emit a variable symbol!");
OpenPOWER on IntegriCloud