diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2024-01-24 19:11:41 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2024-01-24 19:11:41 +0000 |
| commit | 4df029cc74e5ec124f14a5682e44999ce4f086df (patch) | |
| tree | fa2e8720472930df97920b4185215c910159f10d /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h | |
| parent | 950076cd18f3fa9d789b4add9d405898efff09a5 (diff) | |
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h')
| -rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h index ccc284b62331..6d77a6972f09 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h @@ -924,7 +924,7 @@ public: LocIdx getRegMLoc(Register R) { unsigned ID = getLocID(R); assert(ID < LocIDToLocIdx.size()); - assert(LocIDToLocIdx[ID] != UINT_MAX); // Sentinal for IndexedMap. + assert(LocIDToLocIdx[ID] != UINT_MAX); // Sentinel for IndexedMap. return LocIDToLocIdx[ID]; } @@ -940,7 +940,7 @@ public: // Get LocIdx of a spill ID. LocIdx getSpillMLoc(unsigned SpillID) { - assert(LocIDToLocIdx[SpillID] != UINT_MAX); // Sentinal for IndexedMap. + assert(LocIDToLocIdx[SpillID] != UINT_MAX); // Sentinel for IndexedMap. return LocIDToLocIdx[SpillID]; } |
