summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-09-15 01:55:23 +0000
committerJohn McCall <rjmccall@apple.com>2011-09-15 01:55:23 +0000
commit3b201b7d5f2fd8290f5fd8de70cb517430748fa7 (patch)
tree0f2aeaaee4ede6008db2c49e9a1670bbe3978e5c
parent8f8f8d67ea1cfbdf853b41c29f37a8585d46d8fc (diff)
downloadbcm5719-llvm-3b201b7d5f2fd8290f5fd8de70cb517430748fa7.tar.gz
bcm5719-llvm-3b201b7d5f2fd8290f5fd8de70cb517430748fa7.zip
Sorry, that assertion actually already exists.
llvm-svn: 139770
-rw-r--r--clang/lib/CodeGen/CGClass.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp
index 87eabe9e6e4..71cb13e9df3 100644
--- a/clang/lib/CodeGen/CGClass.cpp
+++ b/clang/lib/CodeGen/CGClass.cpp
@@ -559,8 +559,6 @@ static void EmitMemberInitializer(CodeGenFunction &CGF,
LHS = CGF.EmitLValueForFieldInitialization(ThisPtr, Field, 0);
}
- assert(MemberInit->getInit());
-
if (!CGF.hasAggregateLLVMType(Field->getType())) {
if (LHS.isSimple()) {
CGF.EmitExprAsInit(MemberInit->getInit(), Field, LHS, false);
OpenPOWER on IntegriCloud