From c32f94b4cec6f0efa9a0883103ca6309dc9dd024 Mon Sep 17 00:00:00 2001 From: John McCall Date: Fri, 3 Sep 2010 00:40:45 +0000 Subject: Revert r112916, it's breaking selfhost pretty badly. llvm-svn: 112925 --- clang/lib/CodeGen/CGCall.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/lib/CodeGen/CGCall.cpp') diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index f698d146f1b..6072c1c499d 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -117,9 +117,6 @@ const CGFunctionInfo &CodeGenTypes::getFunctionInfo(const CXXRecordDecl *RD, const CGFunctionInfo &CodeGenTypes::getFunctionInfo(const CXXMethodDecl *MD) { llvm::SmallVector ArgTys; - assert(!isa(MD) && "wrong method for contructors!"); - assert(!isa(MD) && "wrong method for destructors!"); - // Add the 'this' pointer unless this is a static method. if (MD->isInstance()) ArgTys.push_back(GetThisType(Context, MD->getParent())); -- cgit v1.2.3