diff options
author | Mike Stump <mrs@apple.com> | 2009-12-08 21:46:41 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-12-08 21:46:41 +0000 |
commit | e64d434a3450c803beebc09920e111374397a4d2 (patch) | |
tree | 13f64a59c3d1fecac65fe85bf449089dfb932d89 /lib/CodeGen/CGException.cpp | |
parent | b760fe8fafde1d9d9f1f01db57a88cd9ce636342 (diff) |
Remove some old code. WIP.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
-rw-r--r-- | lib/CodeGen/CGException.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp index 88e7eb5e5c..9bc884134f 100644 --- a/lib/CodeGen/CGException.cpp +++ b/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); } |