From 83eedd9fa800c273647c7a90465ea9c110f9d93c Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sun, 28 Nov 2010 17:53:32 +0000 Subject: BuildVirtualCall doesn't need to take a reference to a pointer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120252 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/CodeGenFunction.h') diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 560675e73f..4bb5c595eb 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1498,7 +1498,7 @@ public: llvm::Value *BuildVirtualCall(const CXXMethodDecl *MD, llvm::Value *This, const llvm::Type *Ty); llvm::Value *BuildVirtualCall(const CXXDestructorDecl *DD, CXXDtorType Type, - llvm::Value *&This, const llvm::Type *Ty); + llvm::Value *This, const llvm::Type *Ty); RValue EmitCXXMemberCall(const CXXMethodDecl *MD, llvm::Value *Callee, -- cgit v1.2.3-70-g09d2