diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-12 04:26:35 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-12 04:26:35 +0000 |
commit | 5a0f49ebc83e7fe0da07b9964c44b0a7fae270cb (patch) | |
tree | c900291261456eca4846d7b724bd5f69f245099a /lib/CodeGen/CodeGenFunction.h | |
parent | 29f898a36b1d2023ba0fd6cdaf2d955332f3b137 (diff) |
Rename AddressCXXOfBaseClass to GetAddressCXXOfBaseClass. Add a NullCheckValue argument (currently unused).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index a81f67bda3..89e478b64a 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -573,13 +573,14 @@ public: /// generating code for an C++ member function. llvm::Value *LoadCXXThis(); - /// AddressCXXOfBaseClass - This function will add the necessary delta + /// GetAddressCXXOfBaseClass - This function will add the necessary delta /// to the load of 'this' and returns address of the base class. // FIXME. This currently only does a derived to non-virtual base conversion. // Other kinds of conversions will come later. - llvm::Value *AddressCXXOfBaseClass(llvm::Value *ThisValue, - const CXXRecordDecl *ClassDecl, - const CXXRecordDecl *BaseClassDecl); + llvm::Value *GetAddressCXXOfBaseClass(llvm::Value *BaseValue, + const CXXRecordDecl *ClassDecl, + const CXXRecordDecl *BaseClassDecl, + bool NullCheckValue); void EmitClassAggrMemberwiseCopy(llvm::Value *DestValue, llvm::Value *SrcValue, |