Fixing problem with field initialization order
authorAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 3 Mar 2015 20:22:09 +0000 (20:22 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 3 Mar 2015 20:22:09 +0000 (20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231122 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/WinEHPrepare.cpp

index 4b22d1c7e14b536316b8f26fa857e7515fa7a004..68498a5aade863d0bfe5e83c89463170b4a0d01a 100644 (file)
@@ -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,