diff options
author | Mike Stump <mrs@apple.com> | 2009-08-26 20:46:33 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-08-26 20:46:33 +0000 |
commit | f0070dbae9535836ad41711081465dec2259786b (patch) | |
tree | de97c953256a493d203ab4608957ad50edc7baa5 /lib/CodeGen/CodeGenFunction.h | |
parent | 58d3f1af9b4efa426826816a16894986b78b2692 (diff) |
Implement virtual dispatch. :-) This is self-consistent with clang,
but not yet necessarily perfectly consistent with gcc. Also addressed
Doug and John's comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 4fc6c7c773..e8f0cc5de5 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -826,6 +826,8 @@ public: const Decl *TargetDecl = 0); RValue EmitCallExpr(const CallExpr *E); + llvm::Value *BuildVirtualCall(const CXXMethodDecl *MD, llvm::Value *&This, + const llvm::Type *Ty); RValue EmitCXXMemberCall(const CXXMethodDecl *MD, llvm::Value *Callee, llvm::Value *This, |