summaryrefslogtreecommitdiffstats
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
commit26ada867bae2d3ecbc938dc36c4a4e10c1e17a93 (patch)
tree2bb9d4a8293514b9a0fbed9196eb7ebf6dcee02c
parentc3fe01943ffbd9fbca08a73afc0cf1cef7acf58c (diff)
downloadbcm5719-llvm-26ada867bae2d3ecbc938dc36c4a4e10c1e17a93.tar.gz
bcm5719-llvm-26ada867bae2d3ecbc938dc36c4a4e10c1e17a93.zip
Remove untrue statement.
llvm-svn: 90377
-rw-r--r--clang/lib/CodeGen/CGException.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index bf9067e1883..d3d26ca9503 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud