[FunctionImport] assert(false) -> llvm_unreachable(). NFCI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Davide Italiano 2017-04-14 17:22:02 +00:00
parent 4a9d2df17b
commit ec87df5c2d

View File

@ -557,7 +557,7 @@ void llvm::thinLTOResolveWeakForLinkerModule(
// need to add support here for creating either a function or
// variable declaration, and return the new GlobalValue* for
// the caller to use.
assert(false && "Expected function or variable");
llvm_unreachable("Expected function or variable");
};
auto updateLinkage = [&](GlobalValue &GV) {