diff options
author | Anders Carlsson <andersca@mac.com> | 2009-05-11 23:37:08 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-05-11 23:37:08 +0000 |
commit | b9de2c55b2a33776e2bee8ee57df7599b374c8a5 (patch) | |
tree | af39c906f9a532b054d331c710ff0fab1e2b5b22 /lib/CodeGen/CodeGenFunction.h | |
parent | 1df35e310d3402879857dd78f6fa9aaeb94b35c4 (diff) |
Factor code that's common to EmitCXXMemberCallExpr and EmitCXXConstructorCall out into a EmitCXXMemberCall function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 0729ae2d69..964f92123b 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -668,6 +668,13 @@ public: const Decl *TargetDecl = 0); RValue EmitCallExpr(const CallExpr *E); + + RValue EmitCXXMemberCall(const CXXMethodDecl *MD, + llvm::Value *Callee, + llvm::Value *This, + CallExpr::const_arg_iterator ArgBeg, + CallExpr::const_arg_iterator ArgEnd); + RValue EmitCXXMemberCallExpr(const CXXMemberCallExpr *E); RValue EmitCallExpr(llvm::Value *Callee, QualType FnType, |