forked from OSchip/llvm-project
[WinEH] Fix minor bug in begincatch block splitting
llvm-svn: 236129
This commit is contained in:
parent
0bb12a8981
commit
a33f159056
|
@ -448,7 +448,7 @@ void WinEHPrepare::findCXXEHReturnPoints(
|
||||||
// cleanup and catch code to be distinguished later.
|
// cleanup and catch code to be distinguished later.
|
||||||
// Do not update BBI because we still need to process the
|
// Do not update BBI because we still need to process the
|
||||||
// portion of the block that we are splitting off.
|
// portion of the block that we are splitting off.
|
||||||
SplitBlock(BB, &I, DT);
|
SplitBlock(BB, SplitPt, DT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue