From: Eric Christopher Date: Wed, 3 Jul 2013 08:13:55 +0000 (+0000) Subject: Constify a few functions. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6af85aec4a8fe01c6b534ef1120822fe792d1cb6;p=oota-llvm.git Constify a few functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185520 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index b5f66868b4a..de51a43f65e 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; //===----------------------------------------------------------------------===//