projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7aa26b
)
A block dominates itself, by definition.
author
Dan Gohman
<gohman@apple.com>
Mon, 26 Jul 2010 17:38:15 +0000
(17:38 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 26 Jul 2010 17:38:15 +0000
(17:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109402
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/DwarfEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/DwarfEHPrepare.cpp
b/lib/CodeGen/DwarfEHPrepare.cpp
index da2021ae1b411da2ce666e7dc948520fe479267a..425d57e60b1f26513a48a9602632653200aa20dc 100644
(file)
--- a/
lib/CodeGen/DwarfEHPrepare.cpp
+++ b/
lib/CodeGen/DwarfEHPrepare.cpp
@@
-338,7
+338,7
@@
bool DwarfEHPrepare::HandleURoRInvokes() {
for (SmallPtrSet<InvokeInst*, 32>::iterator
UI = URoRInvokes.begin(), UE = URoRInvokes.end(); UI != UE; ++UI) {
const BasicBlock *URoRBB = (*UI)->getParent();
- if (
SelBB == URoRBB ||
DT->dominates(SelBB, URoRBB)) {
+ if (DT->dominates(SelBB, URoRBB)) {
SelsToConvert.insert(*SI);
break;
}