Remove constness from this, it modifies the output stream as does
authorEric Christopher <echristo@gmail.com>
Tue, 20 Nov 2012 23:30:11 +0000 (23:30 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 20 Nov 2012 23:30:11 +0000 (23:30 +0000)
everything else underneath.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168395 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h

index ed52e3fa8378536c7e882d83970a1515871a9e6a..e929fefcaabac472afa994c289d6b26441e1f073 100644 (file)
@@ -1796,7 +1796,7 @@ void DwarfDebug::emitDebugInfo() {
 
 /// emitAbbreviations - Emit the abbreviation section.
 ///
-void DwarfDebug::emitAbbreviations() const {
+void DwarfDebug::emitAbbreviations() {
   // Check to see if it is worth the effort.
   if (!Abbreviations.empty()) {
     // Start the debug abbrev section.
index 009f8d147e6edfe750af4412d985fffe8edbaa61..70c6fbba37e7a3b4111776f5452180d871a862e0 100644 (file)
@@ -372,7 +372,7 @@ private:
 
   /// emitAbbreviations - Emit the abbreviation section.
   ///
-  void emitAbbreviations() const;
+  void emitAbbreviations();
 
   /// emitEndOfLineMatrix - Emit the last address of the section and the end of
   /// the line matrix.