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:
Dan Gohman 2012-05-21 17:41:28 +00:00
parent f496deaa03
commit 4c8f909cdf

View File

@ -3496,7 +3496,7 @@ void ObjCARCOpt::OptimizeWeakCalls(Function &F) {
// No return value. // No return value.
break; break;
default: default:
break; llvm_unreachable("alloca really is used!");
} }
UserInst->eraseFromParent(); UserInst->eraseFromParent();
} }