Mark an unreachable region of code with llvm_unreachable.

llvm-svn: 157197
This commit is contained in:
Dan Gohman 2012-05-21 17:41:28 +00:00
parent 8d8d0f7479
commit 992a69b57c

View File

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