38
38
#include " swift/Basic/RelativePointer.h"
39
39
#include " swift/Demangling/Demangle.h"
40
40
#include " swift/Demangling/ManglingMacros.h"
41
- #include " swift/Runtime /Unreachable.h"
41
+ #include " swift/Basic /Unreachable.h"
42
42
#include " ../../../stdlib/public/SwiftShims/HeapObject.h"
43
43
#if SWIFT_OBJC_INTEROP
44
44
#include < objc/runtime.h>
@@ -4664,7 +4664,7 @@ int32_t TargetTypeContextDescriptor<Runtime>::getGenericArgumentOffset() const {
4664
4664
return llvm::cast<TargetStructDescriptor<Runtime>>(this )
4665
4665
->getGenericArgumentOffset ();
4666
4666
default :
4667
- swift_runtime_unreachable (" Not a type context descriptor." );
4667
+ swift_unreachable (" Not a type context descriptor." );
4668
4668
}
4669
4669
}
4670
4670
@@ -4682,7 +4682,7 @@ TargetTypeContextDescriptor<Runtime>::getFullGenericContextHeader() const {
4682
4682
return llvm::cast<TargetStructDescriptor<Runtime>>(this )
4683
4683
->getFullGenericContextHeader ();
4684
4684
default :
4685
- swift_runtime_unreachable (" Not a type context descriptor." );
4685
+ swift_unreachable (" Not a type context descriptor." );
4686
4686
}
4687
4687
}
4688
4688
@@ -4699,7 +4699,7 @@ TargetTypeContextDescriptor<Runtime>::getGenericParams() const {
4699
4699
case ContextDescriptorKind::OpaqueType:
4700
4700
return llvm::cast<TargetOpaqueTypeDescriptor<Runtime>>(this )->getGenericParams ();
4701
4701
default :
4702
- swift_runtime_unreachable (" Not a type context descriptor." );
4702
+ swift_unreachable (" Not a type context descriptor." );
4703
4703
}
4704
4704
}
4705
4705
@@ -4717,7 +4717,7 @@ TargetTypeContextDescriptor<Runtime>::getForeignMetadataInitialization() const {
4717
4717
return llvm::cast<TargetStructDescriptor<Runtime>>(this )
4718
4718
->getForeignMetadataInitialization ();
4719
4719
default :
4720
- swift_runtime_unreachable (" Not a type context descriptor." );
4720
+ swift_unreachable (" Not a type context descriptor." );
4721
4721
}
4722
4722
}
4723
4723
@@ -4735,7 +4735,7 @@ TargetTypeContextDescriptor<Runtime>::getSingletonMetadataInitialization() const
4735
4735
return llvm::cast<TargetClassDescriptor<Runtime>>(this )
4736
4736
->getSingletonMetadataInitialization ();
4737
4737
default :
4738
- swift_runtime_unreachable (" Not a enum, struct or class type descriptor." );
4738
+ swift_unreachable (" Not a enum, struct or class type descriptor." );
4739
4739
}
4740
4740
}
4741
4741
@@ -4753,7 +4753,7 @@ TargetTypeContextDescriptor<Runtime>::getCanonicicalMetadataPrespecializations()
4753
4753
return llvm::cast<TargetClassDescriptor<Runtime>>(this )
4754
4754
->getCanonicicalMetadataPrespecializations ();
4755
4755
default :
4756
- swift_runtime_unreachable (" Not a type context descriptor." );
4756
+ swift_unreachable (" Not a type context descriptor." );
4757
4757
}
4758
4758
}
4759
4759
0 commit comments