From c665af772a4ca00b391275ec47e7b93890b9f42a Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 3 Jul 2013 08:13:55 +0000 Subject: [PATCH] Constify a few functions. llvm-svn: 185520 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index b5f6686..de51a43 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/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; //===----------------------------------------------------------------------===// -- 2.7.4