summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-07-02 06:10:53 +0000
committerNico Weber <nicolasweber@gmx.de>2015-07-02 06:10:53 +0000
commite4f974c6fbec31da2397b0f625a09de9557b0ef5 (patch)
tree9582a34980be5dcbc57c47bf954e4f3da9d174fe /clang/lib/Sema/SemaStmt.cpp
parent2b4177190923be8cb459274f25a25bb07913e760 (diff)
downloadbcm5719-llvm-e4f974c6fbec31da2397b0f625a09de9557b0ef5.tar.gz
bcm5719-llvm-e4f974c6fbec31da2397b0f625a09de9557b0ef5.zip
Revert 241171, 241187, 241199 (32-bit SEH).
It still doesn't produce quite the right code, test binaries built with this enabled fail some tests. llvm-svn: 241244
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
-rw-r--r--clang/lib/Sema/SemaStmt.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp
index c4f6fd8df1c..6fca974d5b3 100644
--- a/clang/lib/Sema/SemaStmt.cpp
+++ b/clang/lib/Sema/SemaStmt.cpp
@@ -25,7 +25,6 @@
#include "clang/AST/StmtObjC.h"
#include "clang/AST/TypeLoc.h"
#include "clang/AST/TypeOrdering.h"
-#include "clang/Basic/TargetInfo.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Initialization.h"
#include "clang/Sema/Lookup.h"
@@ -3650,10 +3649,6 @@ StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc,
else
Diag(TryLoc, diag::err_seh_try_outside_functions);
- // Reject __try on unsupported targets.
- if (!Context.getTargetInfo().isSEHTrySupported())
- Diag(TryLoc, diag::err_seh_try_unsupported);
-
return SEHTryStmt::Create(Context, IsCXXTry, TryLoc, TryBlock, Handler);
}
OpenPOWER on IntegriCloud