[WinEH] Fix minor bug in begincatch block splitting

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Kaylor 2015-04-29 17:21:26 +00:00
parent 6cc327cc18
commit a147b2575b

View File

@ -448,7 +448,7 @@ void WinEHPrepare::findCXXEHReturnPoints(
// cleanup and catch code to be distinguished later.
// Do not update BBI because we still need to process the
// portion of the block that we are splitting off.
SplitBlock(BB, &I, DT);
SplitBlock(BB, SplitPt, DT);
break;
}
}