Replaced assert(false with llvm_unreachable

This commit is contained in:
David Ungar
2017-12-06 15:54:24 -08:00
parent ef9fcf9ee3
commit b63aab533d

View File

@@ -50,7 +50,7 @@ bool FrontendInputs::shouldTreatAsSIL() const {
return false;
if (silPrimaryCount == primaryInputCount())
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