aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-23 02:45:36 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-23 02:45:36 +0000
commit569c1f4a6c703eaa8b963bed7d5c2fd5d4569e93 (patch)
treef1b4a0b03ac6434e89ee2fd6d0d22a368d5b64f8 /lib/CodeGen/CodeGenFunction.h
parent657406dd407a3f17c594205d65fec049cf1304dd (diff)
Add a new variant of EmitCXXAggrConstructorCall that takes a Value that holds the number of elements to construct, to be used when implementing new[].
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 8629b6902e..651dc95177 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -610,8 +610,11 @@ public:
CallExpr::const_arg_iterator ArgEnd);
void EmitCXXAggrConstructorCall(const CXXConstructorDecl *D,
- const ArrayType *Array,
- llvm::Value *This);
+ const ConstantArrayType *ArrayTy,
+ llvm::Value *ArrayPtr);
+ void EmitCXXAggrConstructorCall(const CXXConstructorDecl *D,
+ llvm::Value *NumElements,
+ llvm::Value *ArrayPtr);
void EmitCXXAggrDestructorCall(const CXXDestructorDecl *D,
const ArrayType *Array,