projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348de69
)
Remove trivial assert to fix NDEBUG Werror builds
author
Reid Kleckner
<reid@kleckner.net>
Thu, 23 Apr 2015 21:36:32 +0000
(21:36 +0000)
committer
Reid Kleckner
<reid@kleckner.net>
Thu, 23 Apr 2015 21:36:32 +0000
(21:36 +0000)
llvm-svn: 235652
llvm/lib/CodeGen/WinEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/WinEHPrepare.cpp
b/llvm/lib/CodeGen/WinEHPrepare.cpp
index
4dd1962
..
a1da1ae
100644
(file)
--- a/
llvm/lib/CodeGen/WinEHPrepare.cpp
+++ b/
llvm/lib/CodeGen/WinEHPrepare.cpp
@@
-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) {