[WinEH] Fix a build issue in CGException.cpp

I was constructing an object without filling in all the fields.

llvm-svn: 247851
This commit is contained in:
Reid Kleckner
2015-09-16 21:06:09 +00:00
parent bff03b0982
commit 8be1847b09

View File

@@ -1845,8 +1845,7 @@ void CodeGenFunction::EnterSEHTryStmt(const SEHTryStmt &S) {
HelperCGF.GenerateSEHFilterFunction(*this, *Except);
llvm::Constant *OpaqueFunc =
llvm::ConstantExpr::getBitCast(FilterFunc, Int8PtrTy);
CatchScope->setHandler(0, CatchTypeInfo{OpaqueFunc},
createBasicBlock("__except.ret"));
CatchScope->setHandler(0, OpaqueFunc, createBasicBlock("__except.ret"));
}
void CodeGenFunction::ExitSEHTryStmt(const SEHTryStmt &S) {