diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-25 18:26:07 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-25 18:26:07 +0000 |
commit | ef66872797e46ced3ffdb428e582bc7f00474f99 (patch) | |
tree | 6e8d4db44bf74c059086f2ec3f724883deff0a74 /lib/CodeGen/CodeGenFunction.h | |
parent | 7b050306b0ba3e7e564126fb12aca64b4c0b3f54 (diff) |
IRGen for trivial initialization of dynamiccaly allocated
array of other done c++ objects. Fixes PR7490.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106869 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 32bffa105c..4985bdb0ca 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -850,6 +850,9 @@ public: void EmitCXXDestructorCall(const CXXDestructorDecl *D, CXXDtorType Type, bool ForVirtualBase, llvm::Value *This); + + void EmitNewArrayInitializer(const CXXNewExpr *E, llvm::Value *NewPtr, + llvm::Value *NumElements); void PushCXXTemporary(const CXXTemporary *Temporary, llvm::Value *Ptr); void PopCXXTemporary(); |