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.

llvm-svn: 90358
This commit is contained in:
Mike Stump 2009-12-02 23:46:02 +00:00
parent 90990965e0
commit 2d52ce5f94
1 changed files with 0 additions and 5 deletions

View File

@ -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());