summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h4
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];
}