aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-03 01:34:13 +0000
committerMike Stump <mrs@apple.com>2009-12-03 01:34:13 +0000
commit6b85fa41214d9d3e8ef635f964fdc1c74f4702d6 (patch)
tree1ebc24b9a55328116707025e890ea8b6e52b0c84 /lib/CodeGen/CGException.cpp
parent2eca546c5836938dff3a517fbe43f266073215ab (diff)
Remove untrue statement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
-rw-r--r--lib/CodeGen/CGException.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp
index bf9067e188..d3d26ca950 100644
--- a/lib/CodeGen/CGException.cpp
+++ b/lib/CodeGen/CGException.cpp
@@ -385,9 +385,6 @@ void CodeGenFunction::EmitCXXTryStmt(const CXXTryStmt &S) {
if (!CatchType.getTypePtr()->isPointerType())
CatchType = getContext().getPointerType(CatchType);
ExcObject = Builder.CreateBitCast(ExcObject, ConvertType(CatchType));
- // CatchParam is a ParmVarDecl because of the grammar
- // construction used to handle this, but for codegen purposes
- // we treat this as a local decl.
EmitLocalBlockVarDecl(*CatchParam);
#if 0
// FIXME: objects with ctors, references