From 7445d55cf2fc16dac67bcd2ae6344ff2b7de27ce Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Sat, 12 Sep 2009 18:57:58 +0000 Subject: We can't have ctors in the vtable (right Doug?) :-) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81619 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/Mangle.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/CodeGen/Mangle.cpp') diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index 434d3c48fe..f55e99a573 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -897,8 +897,6 @@ namespace clang { void mangleThunk(const FunctionDecl *FD, int64_t nv, int64_t v, ASTContext &Context, llvm::raw_ostream &os) { // FIXME: Hum, we might have to thunk these, fix. - assert(!isa(FD) && - "Use mangleCXXCtor for constructor decls!"); assert(!isa(FD) && "Use mangleCXXDtor for destructor decls!"); @@ -913,8 +911,6 @@ namespace clang { int64_t nv_r, int64_t v_r, ASTContext &Context, llvm::raw_ostream &os) { // FIXME: Hum, we might have to thunk these, fix. - assert(!isa(FD) && - "Use mangleCXXCtor for constructor decls!"); assert(!isa(FD) && "Use mangleCXXDtor for destructor decls!"); -- cgit v1.2.3-70-g09d2