Mercurial > projects > ldc
diff gen/arrays.cpp @ 144:a27941d00351 trunk
[svn r149] fixed: a bunch of D-style variadics problems.
fixed: GotoDefaultStatement implemented.
fixed: some other minor bugs.
author | lindquist |
---|---|
date | Sat, 26 Jan 2008 17:13:22 +0100 |
parents | 0e28624814e8 |
children | ccd07d9f2ce9 |
line wrap: on
line diff
--- a/gen/arrays.cpp Fri Jan 25 01:42:36 2008 +0100 +++ b/gen/arrays.cpp Sat Jan 26 17:13:22 2008 +0100 @@ -446,6 +446,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// void DtoStaticArrayCopy(llvm::Value* dst, llvm::Value* src) { + Logger::cout() << "static array copy: " << *dst << " from " << *src << '\n'; assert(dst->getType() == src->getType()); size_t arrsz = getABITypeSize(dst->getType()->getContainedType(0)); llvm::Value* n = llvm::ConstantInt::get(DtoSize_t(), arrsz, false);