diff options
author | Mike Stump <mrs@apple.com> | 2009-09-12 18:57:58 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-09-12 18:57:58 +0000 |
commit | 7445d55cf2fc16dac67bcd2ae6344ff2b7de27ce (patch) | |
tree | ff3911a4078c3841ee500dce4160ab05b8620c98 /lib/CodeGen | |
parent | 6250921cc5bd3493a0d99fa2c32ec9716767a965 (diff) |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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<CXXConstructorDecl>(FD) && - "Use mangleCXXCtor for constructor decls!"); assert(!isa<CXXDestructorDecl>(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<CXXConstructorDecl>(FD) && - "Use mangleCXXCtor for constructor decls!"); assert(!isa<CXXDestructorDecl>(FD) && "Use mangleCXXDtor for destructor decls!"); |