diff options
| author | John McCall <rjmccall@apple.com> | 2011-09-15 06:49:18 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2011-09-15 06:49:18 +0000 |
| commit | 197056726ed6412501130c2ef2ff69009772aa65 (patch) | |
| tree | 6aaa1ddad8e68f743437ebe3619690406a9f5b6f /lib/CodeGen/CodeGenFunction.h | |
| parent | 3460c0c761eb4b4b5d835aeda3807f81709df8ef (diff) | |
Rewrite this loop to use partial destruction; I'm not sure it's
possible for that to matter right now, but eventually I think we'll
need to unify this better, and then it might. Also, use a more
efficient looping structure.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 9949b67ecf..89f0a7e94b 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1669,8 +1669,8 @@ 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 EmitNewArrayInitializer(const CXXNewExpr *E, QualType elementType, + llvm::Value *NewPtr, llvm::Value *NumElements); void EmitCXXTemporary(const CXXTemporary *Temporary, llvm::Value *Ptr); |
