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 | a5588bf3acab74e44f47825f8351cb415f5fe42f (patch) | |
tree | 15e297db55430980f78193676f46640c819b7b41 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | e146a430525f98f3f2a6ef1bd05d42ad4d2fc861 (diff) | |
download | bcm5719-llvm-a5588bf3acab74e44f47825f8351cb415f5fe42f.tar.gz bcm5719-llvm-a5588bf3acab74e44f47825f8351cb415f5fe42f.zip |
Implement virtual dispatch. :-) This is self-consistent with clang,
but not yet necessarily perfectly consistent with gcc. Also addressed
Doug and John's comments.
llvm-svn: 80137
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 4fc6c7c773f..e8f0cc5de5b 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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, |