diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-26 17:38:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-26 17:38:15 +0000 |
commit | ce0fe5da0d69dfd332084b9f2c159c8f06f534e0 (patch) | |
tree | 8f5cf20f4775d763d899d79063b9a6ba0545973b /lib/CodeGen | |
parent | b7aa26bbdb787e1147eec07eab02d0583ddda617 (diff) | |
download | external_llvm-ce0fe5da0d69dfd332084b9f2c159c8f06f534e0.zip external_llvm-ce0fe5da0d69dfd332084b9f2c159c8f06f534e0.tar.gz external_llvm-ce0fe5da0d69dfd332084b9f2c159c8f06f534e0.tar.bz2 |
A block dominates itself, by definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/DwarfEHPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfEHPrepare.cpp b/lib/CodeGen/DwarfEHPrepare.cpp index da2021a..425d57e 100644 --- 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; } |