From 43db20e9550ecf2b215ddb76eaff82a3b466de96 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sat, 1 May 2010 17:02:18 +0000 Subject: Simplify EmitClassAggrMemberwiseCopy. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102848 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/CodeGen/CodeGenFunction.h') diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index b059488d67..58894ec9bf 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -807,9 +807,8 @@ public: void EmitClassAggrMemberwiseCopy(llvm::Value *DestValue, llvm::Value *SrcValue, - const ArrayType *Array, - const CXXRecordDecl *BaseClassDecl, - QualType Ty); + const ConstantArrayType *Array, + const CXXRecordDecl *ClassDecl); void EmitClassAggrCopyAssignment(llvm::Value *DestValue, llvm::Value *SrcValue, -- cgit v1.2.3