Also update the EH with bitcode. I missed this earlier. Thanks to Duncan for pointing it out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-10-05 07:04:14 +00:00
parent f3baa581e8
commit e9b88cb393

View File

@ -2939,6 +2939,9 @@ bool BitcodeReader::MaterializeModule(Module *M, std::string *ErrInfo) {
}
std::vector<std::pair<Function*, Function*> >().swap(UpgradedIntrinsics);
// Upgrade to new EH scheme. N.B. This will go away in 3.1.
UpgradeExceptionHandling(M);
// Check debug info intrinsics.
CheckDebugInfoIntrinsics(TheModule);