diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-28 17:38:28 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-28 17:38:28 +0000 |
commit | 5142fbd02efb857ca2edd2152849cf9ed23354bf (patch) | |
tree | b42585e2c7ab6f86431bc9826a751e9a1fdc03a9 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | bca2105c5762e433a910898396cfbeee70a4ba2c (diff) | |
download | bcm5719-llvm-5142fbd02efb857ca2edd2152849cf9ed23354bf.tar.gz bcm5719-llvm-5142fbd02efb857ca2edd2152849cf9ed23354bf.zip |
More work toward data member access ir-gen.
llvm-svn: 77332
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 6e905e48ac0..06265196f94 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -528,6 +528,14 @@ public: /// generating code for an C++ member function. llvm::Value *LoadCXXThis(); + /// AddressCXXOfBaseClass - 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, + CXXRecordDecl *ClassDecl, + CXXRecordDecl *BaseClassDecl); + void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type, llvm::Value *This, CallExpr::const_arg_iterator ArgBeg, |