[llvm-commits] [llvm] r157197 - /llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
Dan Gohman
gohman at apple.com
Mon May 21 10:41:28 PDT 2012
Author: djg
Date: Mon May 21 12:41:28 2012
New Revision: 157197
URL: http://llvm.org/viewvc/llvm-project?rev=157197&view=rev
Log:
Mark an unreachable region of code with llvm_unreachable.
Modified:
llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp?rev=157197&r1=157196&r2=157197&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp Mon May 21 12:41:28 2012
@@ -3496,7 +3496,7 @@
// No return value.
break;
default:
- break;
+ llvm_unreachable("alloca really is used!");
}
UserInst->eraseFromParent();
}
More information about the llvm-commits
mailing list