aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
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
commit3460c0c761eb4b4b5d835aeda3807f81709df8ef (patch)
treeef3cb4acdc78ee260f36cd020941b4c2906809e0 /lib/CodeGen/CGClass.cpp
parent082aadee6381ec5e99c19c1e4aef41dcc5c00d2b (diff)
Sorry, that assertion actually already exists.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
-rw-r--r--lib/CodeGen/CGClass.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp
index 87eabe9e6e..71cb13e9df 100644
--- a/lib/CodeGen/CGClass.cpp
+++ b/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);