Remove trivial assert to fix NDEBUG Werror builds

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235652 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2015-04-23 21:36:32 +00:00
parent 93a23a3bd4
commit 173a68d4a2

View File

@ -716,8 +716,6 @@ bool WinEHPrepare::prepareExceptionHandlers(
continue;
assert(E->getNumIndices() == 1 &&
"Unexpected operation: extracting both landing pad values");
unsigned Idx = E->getIndices()[0];
assert(Idx == 0 || Idx == 1);
Extracts.push_back(E);
}
for (Instruction *E : Extracts) {