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
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp
index 02bc05a..bf9067e 100644
--- a/lib/CodeGen/CGException.cpp
+++ b/lib/CodeGen/CGException.cpp
@@ -220,11 +220,6 @@
   }
   
   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());