Skip to content

Commit a373e85

Browse files
authored
Merge pull request #34237 from xedin/fix-rename-of-unreachable
[Runtime] NFC: Fix `swift_runtime_unreachable` to `swift_unreachable`
2 parents d369ce1 + e6b140e commit a373e85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Runtime/Concurrent.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ template <class ElemTy> struct ConcurrentReadableHashMap {
668668
case sizeof(uint32_t):
669669
return (&IndexZero32)[i].load(order);
670670
default:
671-
swift_runtime_unreachable("unknown index size");
671+
swift_unreachable("unknown index size");
672672
}
673673
}
674674

@@ -683,7 +683,7 @@ template <class ElemTy> struct ConcurrentReadableHashMap {
683683
case sizeof(uint32_t):
684684
return (&IndexZero32)[i].store(value, order);
685685
default:
686-
swift_runtime_unreachable("unknown index size");
686+
swift_unreachable("unknown index size");
687687
}
688688
}
689689
};

0 commit comments

Comments
 (0)