diff options
author | Mike Stump <mrs@apple.com> | 2009-08-26 01:54:35 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-08-26 01:54:35 +0000 |
commit | fbddfdacdc38f5e0e8be458fde6c1ab71b979ef0 (patch) | |
tree | 5163b941079b464e5d56c9834dc402485c2168c5 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 2aaf5395640d33eb2db8b7c41829e23459ab54f6 (diff) | |
download | bcm5719-llvm-fbddfdacdc38f5e0e8be458fde6c1ab71b979ef0.tar.gz bcm5719-llvm-fbddfdacdc38f5e0e8be458fde6c1ab71b979ef0.zip |
Implement virtual dispatch. :-) This is self-consistent with clang, but not yet
necessarily perfectly consistent with gcc.
llvm-svn: 80064
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, |