Due to label merging, the last label for an invoke

may be the same as the first label for the following
invoke.  Remove a micro-optimization which was wrong
in this case.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2007-09-05 14:12:46 +00:00
parent e9685143f4
commit 9886504384

View File

@ -3098,10 +3098,9 @@ private:
unsigned BeginLabel = MI->getOperand(0).getImmedValue();
assert(BeginLabel && "Invalid label!");
if (BeginLabel == LastLabel) {
if (BeginLabel == LastLabel)
MayThrow = false;
continue;
}
RangeMapType::iterator L = PadMap.find(BeginLabel);