When we're emitting a constructor or destructor call from a delegating
constructor, retrieve our VTT parameter directly. Fixes PR14588 / <rdar://problem/12867962>. llvm-svn: 174042
This commit is contained in:
@@ -1816,7 +1816,8 @@ public:
|
||||
void EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor,
|
||||
const FunctionArgList &Args);
|
||||
void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type,
|
||||
bool ForVirtualBase, llvm::Value *This,
|
||||
bool ForVirtualBase, bool Delegating,
|
||||
llvm::Value *This,
|
||||
CallExpr::const_arg_iterator ArgBeg,
|
||||
CallExpr::const_arg_iterator ArgEnd);
|
||||
|
||||
@@ -1842,7 +1843,8 @@ public:
|
||||
static Destroyer destroyCXXObject;
|
||||
|
||||
void EmitCXXDestructorCall(const CXXDestructorDecl *D, CXXDtorType Type,
|
||||
bool ForVirtualBase, llvm::Value *This);
|
||||
bool ForVirtualBase, bool Delegating,
|
||||
llvm::Value *This);
|
||||
|
||||
void EmitNewArrayInitializer(const CXXNewExpr *E, QualType elementType,
|
||||
llvm::Value *NewPtr, llvm::Value *NumElements);
|
||||
|
||||
Reference in New Issue
Block a user