mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Replaced assert(false with llvm_unreachable
This commit is contained in:
@@ -50,7 +50,7 @@ bool FrontendInputs::shouldTreatAsSIL() const {
|
|||||||
return false;
|
return false;
|
||||||
if (silPrimaryCount == primaryInputCount())
|
if (silPrimaryCount == primaryInputCount())
|
||||||
return true;
|
return true;
|
||||||
assert(false && "Either all primaries or none must end with .sil");
|
llvm_unreachable("Either all primaries or none must end with .sil");
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned
|
unsigned
|
||||||
|
|||||||
Reference in New Issue
Block a user