[PATCH] [ms] Implement codegen for __leave.

Reid Kleckner rnk at google.com
Thu Feb 12 14:42:45 PST 2015


lgtm

Thanks!


================
Comment at: lib/CodeGen/CGException.cpp:1717-1721
@@ +1716,7 @@
+
+    if (!TryExit.getBlock()->use_empty()) {
+      EmitBlock(TryExit.getBlock(), /*IsFinished=*/true);
+    } else {
+      delete TryExit.getBlock();
+    }
+    SEHTryEpilogueStack.pop_back();
----------------
LLVM tends to elide these braces. *shrug*

http://reviews.llvm.org/D7575

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list