From e6d54ca553916664673fd8689b890df7be38075e Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Tue, 8 Dec 2009 21:46:41 +0000 Subject: [PATCH] Remove some old code. WIP. llvm-svn: 90882 --- clang/lib/CodeGen/CGException.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 88e7eb5e5c03..9bc884134f9d 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -565,16 +565,11 @@ void CodeGenFunction::EmitCXXTryStmt(const CXXTryStmt &S) { } ExcObject = Builder.CreateBitCast(ExcObject, ConvertType(CatchType)); EmitLocalBlockVarDecl(*CatchParam); -#if 0 - // FIXME: objects with ctors, references - Builder.CreateStore(ExcObject, GetAddrOfLocalVar(CatchParam)); -#else // FIXME: we need to do this sooner so that the EH region for the // cleanup doesn't start until after the ctor completes, use a decl // init? CopyObject(*this, CatchParam->getType().getNonReferenceType(), WasPointer, ExcObject, GetAddrOfLocalVar(CatchParam)); -#endif setInvokeDest(MatchHandler); } -- GitLab