diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-31 19:33:16 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-31 19:33:16 +0000 |
commit | 879d7266086313b128238901246a3dbb0939b08a (patch) | |
tree | 7f397922e7762caa48db8629e9f520a2bbbe1f9f /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 6733a7ec157fb8cf2d81836d8812d9d7cf873f66 (diff) | |
download | bcm5719-llvm-879d7266086313b128238901246a3dbb0939b08a.tar.gz bcm5719-llvm-879d7266086313b128238901246a3dbb0939b08a.zip |
Re-implemented generation of objc_memmove_collectable
API for copying GC'able aggregates (Next runtime only).
llvm-svn: 80607
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 2815939517b..046a619e8a7 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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. |