From be7c144fcbcc27eec3efaab5f744e3591995dde1 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 2 Dec 2009 23:46:02 +0000 Subject: 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 --- lib/CodeGen/CGException.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/CodeGen/CGException.cpp') 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()); -- cgit v1.2.3