================
@@ -219,8 +219,10 @@ CodeGenFunction::GenerateVarArgsThunk(llvm::Function *Fn,
          "Store of this should be in entry block?");
   // Adjust "this", if necessary.
   Builder.SetInsertPoint(&*ThisStore);
-  llvm::Value *AdjustedThisPtr =
-      CGM.getCXXABI().performThisAdjustment(*this, ThisPtr, Thunk.This);
+
+  const CXXRecordDecl *thisValueClass = 
Thunk.ThisType->getPointeeCXXRecordDecl();
----------------
asl wrote:

```suggestion
  const CXXRecordDecl *ThisValueClass = 
Thunk.ThisType->getPointeeCXXRecordDecl();
```

https://github.com/llvm/llvm-project/pull/94056
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to