summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-11-20 23:30:11 +0000
committerEric Christopher <echristo@gmail.com>2012-11-20 23:30:11 +0000
commit7dc68db9f006959775b0689b31a36e4be4930126 (patch)
tree4544d536e736dcd90bcbc1316f8e3f6092743220 /lib/CodeGen
parent8b9da530e3637fd4afb33f80673178dcc74397f0 (diff)
downloadllvm-7dc68db9f006959775b0689b31a36e4be4930126.tar.gz
llvm-7dc68db9f006959775b0689b31a36e4be4930126.tar.bz2
llvm-7dc68db9f006959775b0689b31a36e4be4930126.tar.xz
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index ed52e3fa83..e929fefcaa 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 009f8d147e..70c6fbba37 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.