Rename and move getCurrentSectionData.
[oota-llvm.git] / include / llvm / MC / MCStreamer.h
index 957913e934c4ae2b6d3eac4a8cbfd47915776a47..580a1b4ab811c7238cc10251b68ca39c5db7f8cb 100644 (file)
@@ -272,6 +272,7 @@ public:
       return SectionStack.back().first;
     return MCSectionSubPair();
   }
+  MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; }
 
   /// \brief Return the previous section that the streamer is emitting code to.
   MCSectionSubPair getPreviousSection() const {