From: Eric Christopher Date: Tue, 20 Nov 2012 23:30:11 +0000 (+0000) Subject: Remove constness from this, it modifies the output stream as does X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7dc68db9f006959775b0689b31a36e4be4930126;p=oota-llvm.git 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 ed52e3fa837..e929fefcaab 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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. diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 009f8d147e6..70c6fbba37e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -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.