[cfe-commits] r90377 - /cfe/trunk/lib/CodeGen/CGException.cpp

Mike Stump mrs at apple.com
Wed Dec 2 17:34:13 PST 2009


Author: mrs
Date: Wed Dec  2 19:34:13 2009
New Revision: 90377

URL: http://llvm.org/viewvc/llvm-project?rev=90377&view=rev
Log:
Remove untrue statement.

Modified:
    cfe/trunk/lib/CodeGen/CGException.cpp

Modified: cfe/trunk/lib/CodeGen/CGException.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGException.cpp?rev=90377&r1=90376&r2=90377&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGException.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGException.cpp Wed Dec  2 19:34:13 2009
@@ -385,9 +385,6 @@
         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





More information about the cfe-commits mailing list