diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-03 08:13:55 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-03 08:13:55 +0000 |
commit | c665af772a4ca00b391275ec47e7b93890b9f42a (patch) | |
tree | 6b94832eb9136f05324c763bf288c06ada3ee668 | |
parent | 756233ef02944b6863c7e74ff9f6a9e400dec513 (diff) | |
download | bcm5719-llvm-c665af772a4ca00b391275ec47e7b93890b9f42a.tar.gz bcm5719-llvm-c665af772a4ca00b391275ec47e7b93890b9f42a.zip |
Constify a few functions.
llvm-svn: 185520
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index b5f66868b4a..de51a43f65e 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; //===----------------------------------------------------------------------===// |