[NFC] Rename swift_runtime_unreachable to swift_unreachable and make it use LLVM's support when available.

This commit is contained in:
John McCall
2020-10-03 02:39:21 -04:00
parent 66a42d8de7
commit 0fb407943f
38 changed files with 112 additions and 73 deletions

View File

@@ -231,7 +231,7 @@ override_getCanonicalTypeMetadata(const ProtocolConformanceDescriptor *conf) {
}
}
swift_runtime_unreachable("Unhandled TypeReferenceKind in switch.");
swift_unreachable("Unhandled TypeReferenceKind in switch.");
}
class ConformanceCandidate {