Mercurial > projects > ldc
diff gen/toir.cpp @ 116:fd7ad91fd713 trunk
[svn r120] ModuleInfo implementation is now almost complete.
Fixed some nasty static array-initializer bugs.
Fixed bug in DtoArrayLen and DtoArrayPtr for full slices of static arrays.
author | lindquist |
---|---|
date | Sun, 25 Nov 2007 18:55:52 +0100 |
parents | 5880c12dba83 |
children | d580b95cce2b |
line wrap: on
line diff
--- a/gen/toir.cpp Sun Nov 25 03:58:55 2007 +0100 +++ b/gen/toir.cpp Sun Nov 25 18:55:52 2007 +0100 @@ -1491,6 +1491,9 @@ emem = vmem; } + if (earg) Logger::cout() << "slice exp result, length = " << *earg << '\n'; + Logger::cout() << "slice exp result, ptr = " << *emem << '\n'; + return new DSliceValue(type,earg,emem); }