Mercurial > projects > ldc
diff lphobos/internal/adi.d @ 98:6789050b5ad1 trunk
[svn r102] Further delayed emission of function bodies to avoid problems with circular-forward-references.
Now uses the DMD _adEq(void[], void[], TypeInfo) runtime function for array equality comparison.
author | lindquist |
---|---|
date | Wed, 14 Nov 2007 23:39:10 +0100 |
parents | c4e161556a21 |
children | 5ab8e92611f9 |
line wrap: on
line diff
--- a/lphobos/internal/adi.d Wed Nov 14 20:18:01 2007 +0100 +++ b/lphobos/internal/adi.d Wed Nov 14 23:39:10 2007 +0100 @@ -38,6 +38,7 @@ import std.outofmemory; import std.utf; +pragma(LLVM_internal, "notypeinfo") struct Array { size_t length; @@ -478,6 +479,7 @@ { printf("%4x %4x\n", (cast(short*)p1)[i], (cast(short*)p2)[i]); } + printf("sz = %u\n", sz); +/ if (sz == 1)