From 08c321380fff07d476a19daab6d29522c046cd49 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Mon, 31 Aug 2009 19:33:16 +0000 Subject: Re-implemented generation of objc_memmove_collectable API for copying GC'able aggregates (Next runtime only). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80607 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/CodeGenFunction.h') diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 2815939517..046a619e8a 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -897,12 +897,13 @@ public: /// aggregate type. The result is computed into DestPtr. Note that if /// DestPtr is null, the value of the aggregate expression is not needed. void EmitAggExpr(const Expr *E, llvm::Value *DestPtr, bool VolatileDest, - bool IgnoreResult = false, bool IsInitializer = false); + bool IgnoreResult = false, bool IsInitializer = false, + bool RequiresGCollection = false); /// EmitGCMemmoveCollectable - Emit special API for structs with object /// pointers. void EmitGCMemmoveCollectable(llvm::Value *DestPtr, llvm::Value *SrcPtr, - unsigned long); + QualType Ty); /// EmitComplexExpr - Emit the computation of the specified expression of /// complex type, returning the result. -- cgit v1.2.3-70-g09d2