[PATCH] [ms] Implement codegen for __leave.

Nico Weber thakis at chromium.org
Wed Feb 11 17:16:20 PST 2015


================
Comment at: lib/CodeGen/CGStmt.cpp:257
@@ -258,2 +256,3 @@
   case Stmt::CaseStmtClass:     EmitCaseStmt(cast<CaseStmt>(*S));         break;
+  case Stmt::SEHLeaveStmtClass: EmitSEHLeaveStmt(cast<SEHLeaveStmt>(*S)); break;
   }
----------------
(Moving this around isn't strictly necessary, but it seems nice to keep this similar to the EmitGoto path.)

http://reviews.llvm.org/D7575

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






More information about the cfe-commits mailing list