mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Mark an unreachable region of code with llvm_unreachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f496deaa03
commit
4c8f909cdf
@ -3496,7 +3496,7 @@ void ObjCARCOpt::OptimizeWeakCalls(Function &F) {
|
||||
// No return value.
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
llvm_unreachable("alloca really is used!");
|
||||
}
|
||||
UserInst->eraseFromParent();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user