From fbddfdacdc38f5e0e8be458fde6c1ab71b979ef0 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 26 Aug 2009 01:54:35 +0000 Subject: Implement virtual dispatch. :-) This is self-consistent with clang, but not yet necessarily perfectly consistent with gcc. llvm-svn: 80064 --- clang/lib/CodeGen/CodeGenFunction.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') 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, -- cgit v1.2.3