[PATCH] D17689: [WinEH] Allocate the registration node before the catch objects

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 12:52:05 PST 2016


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm


================
Comment at: lib/CodeGen/PrologEpilogInserter.cpp:712
@@ -711,1 +711,3 @@
 
+  int EHRegNodeFrameIndex = INT_MAX;
+  if (const WinEHFuncInfo *FuncInfo = Fn.getWinEHFuncInfo())
----------------
Not really this CL's problem, but we really should make something like `enum { FI_Invalid = INT_MAX };` and standardize on it.


http://reviews.llvm.org/D17689





More information about the llvm-commits mailing list