[cfe-commits] r139770 - /cfe/trunk/lib/CodeGen/CGClass.cpp

John McCall rjmccall at apple.com
Wed Sep 14 18:55:24 PDT 2011


Author: rjmccall
Date: Wed Sep 14 20:55:23 2011
New Revision: 139770

URL: http://llvm.org/viewvc/llvm-project?rev=139770&view=rev
Log:
Sorry, that assertion actually already exists.


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

Modified: cfe/trunk/lib/CodeGen/CGClass.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGClass.cpp?rev=139770&r1=139769&r2=139770&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGClass.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGClass.cpp Wed Sep 14 20:55:23 2011
@@ -559,8 +559,6 @@
     LHS = CGF.EmitLValueForFieldInitialization(ThisPtr, Field, 0);
   }
 
-  assert(MemberInit->getInit());
-
   if (!CGF.hasAggregateLLVMType(Field->getType())) {
     if (LHS.isSimple()) {
       CGF.EmitExprAsInit(MemberInit->getInit(), Field, LHS, false);





More information about the cfe-commits mailing list