aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-03 08:13:55 +0000
committerEric Christopher <echristo@gmail.com>2013-07-03 08:13:55 +0000
commit6af85aec4a8fe01c6b534ef1120822fe792d1cb6 (patch)
tree76c117b559f32600e132b1e44c0105fd351ead35 /lib
parent9e333ca4457f2665c50229db967ec53c38abcb9b (diff)
downloadexternal_llvm-6af85aec4a8fe01c6b534ef1120822fe792d1cb6.zip
external_llvm-6af85aec4a8fe01c6b534ef1120822fe792d1cb6.tar.gz
external_llvm-6af85aec4a8fe01c6b534ef1120822fe792d1cb6.tar.bz2
Constify a few functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index b5f6686..de51a43 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -114,9 +114,9 @@ typedef struct DotDebugLocEntry {
bool isInt() const { return EntryKind == E_Integer; }
bool isConstantFP() const { return EntryKind == E_ConstantFP; }
bool isConstantInt() const { return EntryKind == E_ConstantInt; }
- int64_t getInt() { return Constants.Int; }
- const ConstantFP *getConstantFP() { return Constants.CFP; }
- const ConstantInt *getConstantInt() { return Constants.CIP; }
+ int64_t getInt() const { return Constants.Int; }
+ const ConstantFP *getConstantFP() const { return Constants.CFP; }
+ const ConstantInt *getConstantInt() const { return Constants.CIP; }
} DotDebugLocEntry;
//===----------------------------------------------------------------------===//