From: Eric Christopher Date: Wed, 3 Jul 2013 08:13:55 +0000 (+0000) Subject: Constify a few functions. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c665af772a4ca00b391275ec47e7b93890b9f42a;p=platform%2Fupstream%2Fllvm.git Constify a few functions. llvm-svn: 185520 --- 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; //===----------------------------------------------------------------------===//