forked from OSchip/llvm-project
CGClass.cpp: Fix a warning in -Asserts. [-Wunused-private-field]
llvm-svn: 247778
This commit is contained in:
parent
d42d3df56f
commit
ee82b497f8
|
@ -1789,6 +1789,7 @@ namespace {
|
|||
// Generate function call for handling vtable pointer poisoning.
|
||||
void Emit(CodeGenFunction &CGF, Flags flags) override {
|
||||
assert(Dtor->getParent()->isDynamicClass());
|
||||
(void)Dtor;
|
||||
ASTContext &Context = CGF.getContext();
|
||||
// Poison vtable and vtable ptr if they exist for this class.
|
||||
llvm::Value *VTablePtr = CGF.LoadCXXThis();
|
||||
|
|
Loading…
Reference in New Issue