mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +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:
@ -114,9 +114,9 @@ typedef struct DotDebugLocEntry {
|
|||||||
bool isInt() const { return EntryKind == E_Integer; }
|
bool isInt() const { return EntryKind == E_Integer; }
|
||||||
bool isConstantFP() const { return EntryKind == E_ConstantFP; }
|
bool isConstantFP() const { return EntryKind == E_ConstantFP; }
|
||||||
bool isConstantInt() const { return EntryKind == E_ConstantInt; }
|
bool isConstantInt() const { return EntryKind == E_ConstantInt; }
|
||||||
int64_t getInt() { return Constants.Int; }
|
int64_t getInt() const { return Constants.Int; }
|
||||||
const ConstantFP *getConstantFP() { return Constants.CFP; }
|
const ConstantFP *getConstantFP() const { return Constants.CFP; }
|
||||||
const ConstantInt *getConstantInt() { return Constants.CIP; }
|
const ConstantInt *getConstantInt() const { return Constants.CIP; }
|
||||||
} DotDebugLocEntry;
|
} DotDebugLocEntry;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
Reference in New Issue
Block a user