Fix uninitialized memory references in WinEHPrepare

llvm-svn: 231405
This commit is contained in:
Andrew Kaylor 2015-03-05 21:06:42 +00:00
parent 26aaa6872d
commit 05ee8bd4e3
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +90,9 @@ public:
FrameVarInfoMap &VarInfo)
: LPI(LPI), Materializer(HandlerFn, VarInfo),
SelectorIDType(Type::getInt32Ty(LPI->getContext())),
Int8PtrType(Type::getInt8PtrTy(LPI->getContext())) {}
Int8PtrType(Type::getInt8PtrTy(LPI->getContext())),
ExtractedEHPtr(nullptr), ExtractedSelector(nullptr),
EHPtrStoreAddr(nullptr), SelectorStoreAddr(nullptr) {}
CloningAction handleInstruction(ValueToValueMapTy &VMap,
const Instruction *Inst,