mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
[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:
parent
6cc327cc18
commit
a147b2575b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user