aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-02 23:46:02 +0000
committerMike Stump <mrs@apple.com>2009-12-02 23:46:02 +0000
commitbe7c144fcbcc27eec3efaab5f744e3591995dde1 (patch)
tree119c655f9309066a8d6246d49d03b7e94a82c952
parentf7f74675d4e63c4529a4b890c0dd62cf6dc4c476 (diff)
Cleanups on exceptional edges don't work at all, yet. This doesn't
catch very many of them and if we caught all of them, the errors would be annoying. I'm working on this next. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90358 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CGException.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp
index 02bc05a68e..bf9067e188 100644
--- a/lib/CodeGen/CGException.cpp
+++ b/lib/CodeGen/CGException.cpp
@@ -220,11 +220,6 @@ void CodeGenFunction::EmitCXXThrowExpr(const CXXThrowExpr *E) {
}
QualType ThrowType = E->getSubExpr()->getType();
- // FIXME: Handle cleanup.
- if (!CleanupEntries.empty()){
- ErrorUnsupported(E, "throw expression with cleanup entries");
- return;
- }
// Now allocate the exception object.
const llvm::Type *SizeTy = ConvertType(getContext().getSizeType());