forked from OSchip/llvm-project
parent
2fe98c2b37
commit
5b5c81f683
|
@ -1516,7 +1516,7 @@ namespace {
|
|||
llvm::Value *LoadThisForDtorDelete(CodeGenFunction &CGF,
|
||||
const CXXDestructorDecl *DD) {
|
||||
if (Expr *ThisArg = DD->getOperatorDeleteThisArg())
|
||||
return CGF.EmitScalarExpr(DD->getOperatorDeleteThisArg());
|
||||
return CGF.EmitScalarExpr(ThisArg);
|
||||
return CGF.LoadCXXThis();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue