summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit383719592aea03fce691c660d329797cef4958a3 (patch)
tree91d2ab2c0e9bc5d55fc292f913624480e8597460 /llvm/lib/CodeGen
parentcd7720a03f91f026bef40ac94ba9b85a0125c379 (diff)
downloadbcm5719-llvm-383719592aea03fce691c660d329797cef4958a3.tar.gz
bcm5719-llvm-383719592aea03fce691c660d329797cef4958a3.zip
Remove constness from this, it modifies the output stream as does
everything else underneath. llvm-svn: 168395
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index ed52e3fa837..e929fefcaab 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 009f8d147e6..70c6fbba37e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud