From: Reid Kleckner Date: Fri, 20 Feb 2015 19:46:02 +0000 (+0000) Subject: Use unreachable instead of assert(false) to silence MSVC warning X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a68ce075bae3d3d2e0bdf40b0a4645f12834b6be;p=oota-llvm.git Use unreachable instead of assert(false) to silence MSVC warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230045 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index a11e13d88b8..5ce4267c1a0 100644 --- a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -648,7 +648,7 @@ private: case PhiState::Conflict: return stateA; } - assert(false && "only three states!"); + llvm_unreachable("only three states!"); } }; }