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 | 99210dc9d158bb306a0d7fb735550971df9925b4 (patch) | |
tree | d09ad48f7b19ff4e28cdd3089bd253e76e7a086b /clang/lib/CodeGen/CodeGenFunction.h | |
parent | fb75d78d332d55905fe5fca58af074d9a2443e16 (diff) | |
download | bcm5719-llvm-99210dc9d158bb306a0d7fb735550971df9925b4.tar.gz bcm5719-llvm-99210dc9d158bb306a0d7fb735550971df9925b4.zip |
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.
llvm-svn: 139788
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 9949b67ecf3..89f0a7e94bb 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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); |