summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DIE.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-05-31 22:50:40 +0000
committerEric Christopher <echristo@gmail.com>2013-05-31 22:50:40 +0000
commit813419ed5a1712ec5b75f157c103e875400f5cc6 (patch)
tree9957fedf19809991bc59db19019efc3d0c958cae /lib/CodeGen/AsmPrinter/DIE.h
parent769d24a60d798ffa3a47a01c9e7a0dcfaefbb882 (diff)
downloadllvm-813419ed5a1712ec5b75f157c103e875400f5cc6.tar.gz
llvm-813419ed5a1712ec5b75f157c103e875400f5cc6.tar.bz2
llvm-813419ed5a1712ec5b75f157c103e875400f5cc6.tar.xz
Const-ify some printing and dumping code for DIEValues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h
index 550d873128..19a6bd9bea 100644
--- a/lib/CodeGen/AsmPrinter/DIE.h
+++ b/lib/CodeGen/AsmPrinter/DIE.h
@@ -217,8 +217,8 @@ namespace llvm {
virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const = 0;
#ifndef NDEBUG
- virtual void print(raw_ostream &O) = 0;
- void dump();
+ virtual void print(raw_ostream &O) const = 0;
+ void dump() const;
#endif
};
@@ -260,7 +260,7 @@ namespace llvm {
static bool classof(const DIEValue *I) { return I->getType() == isInteger; }
#ifndef NDEBUG
- virtual void print(raw_ostream &O);
+ virtual void print(raw_ostream &O) const;
#endif
};
@@ -288,7 +288,7 @@ namespace llvm {
static bool classof(const DIEValue *L) { return L->getType() == isLabel; }
#ifndef NDEBUG
- virtual void print(raw_ostream &O);
+ virtual void print(raw_ostream &O) const;
#endif
};
@@ -314,7 +314,7 @@ namespace llvm {
static bool classof(const DIEValue *D) { return D->getType() == isDelta; }
#ifndef NDEBUG
- virtual void print(raw_ostream &O);
+ virtual void print(raw_ostream &O) const;
#endif
};
@@ -345,7 +345,7 @@ namespace llvm {
static bool classof(const DIEValue *E) { return E->getType() == isEntry; }
#ifndef NDEBUG
- virtual void print(raw_ostream &O);
+ virtual void print(raw_ostream &O) const;
#endif
};
@@ -384,7 +384,7 @@ namespace llvm {
static bool classof(const DIEValue *E) { return E->getType() == isBlock; }
#ifndef NDEBUG
- virtual void print(raw_ostream &O);
+ virtual void print(raw_ostream &O) const;
#endif
};