summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-10 00:16:25 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-10 00:16:25 +0000
commit8819a4065fba65a69b793db5228751845717d395 (patch)
tree80ed8eb46cc04de883951ed7e8b403d2404bd686 /clang/lib/CodeGen/CGException.cpp
parent85a2450d566a80fe115b249504ffd1d5d0ee1144 (diff)
downloadbcm5719-llvm-8819a4065fba65a69b793db5228751845717d395.tar.gz
bcm5719-llvm-8819a4065fba65a69b793db5228751845717d395.zip
Re-enable 32-bit SEH after the alignment fix
llvm-svn: 241878
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index c7e3ed5c348..987ffc14a45 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/lib/CodeGen/CGException.cpp
@@ -1280,10 +1280,6 @@ llvm::BasicBlock *CodeGenFunction::getEHResumeBlock(bool isCleanup) {
}
void CodeGenFunction::EmitSEHTryStmt(const SEHTryStmt &S) {
- // Reject __try on unsupported targets.
- if (!getContext().getTargetInfo().isSEHTrySupported())
- ErrorUnsupported(&S, "SEH '__try' on this target");
-
EnterSEHTryStmt(S);
{
JumpDest TryExit = getJumpDestInCurrentScope("__try.__leave");
OpenPOWER on IntegriCloud