mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 12:40:38 +00:00
[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:
parent
4a9d2df17b
commit
ec87df5c2d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user