[cfe-commits] r90358 - /cfe/trunk/lib/CodeGen/CGException.cpp
Mike Stump
mrs at apple.com
Wed Dec 2 15:46:02 PST 2009
Author: mrs
Date: Wed Dec 2 17:46:02 2009
New Revision: 90358
URL: http://llvm.org/viewvc/llvm-project?rev=90358&view=rev
Log:
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.
Modified:
cfe/trunk/lib/CodeGen/CGException.cpp
Modified: cfe/trunk/lib/CodeGen/CGException.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGException.cpp?rev=90358&r1=90357&r2=90358&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGException.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGException.cpp Wed Dec 2 17:46:02 2009
@@ -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());
More information about the cfe-commits
mailing list