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
This commit is contained in:
Reid Kleckner 2015-02-20 19:46:02 +00:00
parent 3583d23018
commit a68ce075ba

View File

@ -648,7 +648,7 @@ private:
case PhiState::Conflict:
return stateA;
}
assert(false && "only three states!");
llvm_unreachable("only three states!");
}
};
}