Get rid of duplicate char*/Section* DataSection
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfWriter.cpp
index 5d2581f5f3baeadbc8e90ee0c8acdf3f6635474d..d45ab13e86393098049948ca7c4c0fb52ac69a2e 100644 (file)
@@ -2064,7 +2064,7 @@ private:
 
     Asm->SwitchToSection(TAI->getTextSection());
     EmitLabel("text_begin", 0);
-    Asm->SwitchToDataSection(TAI->getDataSection());
+    Asm->SwitchToSection(TAI->getDataSection());
     EmitLabel("data_begin", 0);
   }
 
@@ -2750,7 +2750,7 @@ public:
     // Standard sections final addresses.
     Asm->SwitchToSection(TAI->getTextSection());
     EmitLabel("text_end", 0);
-    Asm->SwitchToDataSection(TAI->getDataSection());
+    Asm->SwitchToSection(TAI->getDataSection());
     EmitLabel("data_end", 0);
 
     // End text sections.