Fix uninitialized memory references in WinEHPrepare

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231405 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Kaylor 2015-03-05 21:06:42 +00:00
parent f74b5c6198
commit 18296bdf03

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,