summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-08-26 01:54:35 +0000
committerMike Stump <mrs@apple.com>2009-08-26 01:54:35 +0000
commitfbddfdacdc38f5e0e8be458fde6c1ab71b979ef0 (patch)
tree5163b941079b464e5d56c9834dc402485c2168c5 /clang/lib/CodeGen/CodeGenFunction.h
parent2aaf5395640d33eb2db8b7c41829e23459ab54f6 (diff)
downloadbcm5719-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.h2
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,
OpenPOWER on IntegriCloud