Remove constness from this, it modifies the output stream as does
everything else underneath.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168395 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index ed52e3f..e929fef 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1796,7 +1796,7 @@
/// 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.
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 009f8d1..70c6fbb 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -372,7 +372,7 @@
/// 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.