[WinEHPrepare] Don't rely on the order of IR
[oota-llvm.git] / include / llvm / CodeGen / WinEHFuncInfo.h
index 9b826754015f1dd33ac9ab3464143553705ddcc1..5fc2b126db83f1a917a9d3eaa98ba55f7e956dd8 100644 (file)
@@ -142,7 +142,11 @@ struct WinEHFuncInfo {
   int UnwindHelpFrameIdx;
   int UnwindHelpFrameOffset;
 
-  WinEHFuncInfo() : UnwindHelpFrameIdx(INT_MAX), UnwindHelpFrameOffset(-1) {}
+  unsigned NumIPToStateFuncsVisited;
+
+  WinEHFuncInfo()
+      : UnwindHelpFrameIdx(INT_MAX), UnwindHelpFrameOffset(-1),
+        NumIPToStateFuncsVisited(0) {}
 };
 
 }