From 2b8d60dfdfbbf19f6e2dcfb5c438f8eda8a7ecb4 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112925 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGCall.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/CodeGen/CGCall.cpp') diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index f698d146f1..6072c1c499 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/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