[llvm] r236129 - [WinEH] Fix minor bug in begincatch block splitting
Andrew Kaylor
andrew.kaylor at intel.com
Wed Apr 29 10:21:27 PDT 2015
Author: akaylor
Date: Wed Apr 29 12:21:26 2015
New Revision: 236129
URL: http://llvm.org/viewvc/llvm-project?rev=236129&view=rev
Log:
[WinEH] Fix minor bug in begincatch block splitting
Modified:
llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
Modified: llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/WinEHPrepare.cpp?rev=236129&r1=236128&r2=236129&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Wed Apr 29 12:21:26 2015
@@ -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;
}
}
More information about the llvm-commits
mailing list