forked from OSchip/llvm-project
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. llvm-svn: 41720
This commit is contained in:
parent
6820abe101
commit
2c0a0fb725
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue