summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-09-03 00:40:45 +0000
committerJohn McCall <rjmccall@apple.com>2010-09-03 00:40:45 +0000
commitc32f94b4cec6f0efa9a0883103ca6309dc9dd024 (patch)
tree20f21784dc6908b552a8aee642b2c30ab965e378 /clang/lib/CodeGen/CGCall.cpp
parent99d82f2e8be37269e0d03c47566ce955fb8b99de (diff)
downloadbcm5719-llvm-c32f94b4cec6f0efa9a0883103ca6309dc9dd024.tar.gz
bcm5719-llvm-c32f94b4cec6f0efa9a0883103ca6309dc9dd024.zip
Revert r112916, it's breaking selfhost pretty badly.
llvm-svn: 112925
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp3
1 files changed, 0 insertions, 3 deletions
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<CanQualType, 16> ArgTys;
- assert(!isa<CXXConstructorDecl>(MD) && "wrong method for contructors!");
- assert(!isa<CXXDestructorDecl>(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()));
OpenPOWER on IntegriCloud