mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 08:29:43 +00:00
Constify a few functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e333ca445
commit
6af85aec4a
@ -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;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user