1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

[WinEH] Fix minor bug in begincatch block splitting

llvm-svn: 236129
This commit is contained in:
Andrew Kaylor 2015-04-29 17:21:26 +00:00
parent b3653639b1
commit 532d9d8414

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;
}
}