From: Andrew Kaylor Date: Tue, 3 Mar 2015 20:22:09 +0000 (+0000) Subject: Fixing problem with field initialization order X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=630bf05f92e43dd07f85a895cfd6937a1f4cb29e;p=oota-llvm.git Fixing problem with field initialization order git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231122 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index 4b22d1c7e14..68498a5aade 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/lib/CodeGen/WinEHPrepare.cpp @@ -133,8 +133,8 @@ class WinEHCatchDirector : public WinEHCloningDirectorBase { public: WinEHCatchDirector(LandingPadInst *LPI, Function *CatchFn, Value *Selector, Value *EHObj, FrameVarInfoMap &VarInfo) - : WinEHCloningDirectorBase(LPI, CatchFn, VarInfo), EHObj(EHObj), - CurrentSelector(Selector->stripPointerCasts()) {} + : WinEHCloningDirectorBase(LPI, CatchFn, VarInfo), + CurrentSelector(Selector->stripPointerCasts()), EHObj(EHObj) {} CloningAction handleBeginCatch(ValueToValueMapTy &VMap, const Instruction *Inst,