summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-08 21:46:41 +0000
committerMike Stump <mrs@apple.com>2009-12-08 21:46:41 +0000
commite6d54ca553916664673fd8689b890df7be38075e (patch)
treeb662dda5bf9810b03a34b0a451cfd706e34a691e /clang/lib/CodeGen/CGException.cpp
parent9291ab6d801479886cb71a9d8f2345b38a5169ce (diff)
downloadbcm5719-llvm-e6d54ca553916664673fd8689b890df7be38075e.tar.gz
bcm5719-llvm-e6d54ca553916664673fd8689b890df7be38075e.zip
Remove some old code. WIP.
llvm-svn: 90882
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index 88e7eb5e5c0..9bc884134f9 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);
}
OpenPOWER on IntegriCloud