# HG changeset patch # User Tomas Lindquist Olsen # Date 1241963451 -7200 # Node ID 7c6dcb98ac35a45bac39866af6ebcc5cba34cefb # Parent 6bae1c30480f6a511e5be2e7360b7083552f4a5c Removed fix from rev [1331] since rev [1333] adds a more general fix that catches more cases! diff -r 6bae1c30480f -r 7c6dcb98ac35 dmd/interpret.c --- a/dmd/interpret.c Sun May 10 15:42:23 2009 +0200 +++ b/dmd/interpret.c Sun May 10 15:50:51 2009 +0200 @@ -1942,13 +1942,6 @@ if (fd->ident == Id::adDup && arguments && arguments->dim == 2) { e = (Expression *)arguments->data[1]; -#if IN_LLVM - // in LDC we repaint the array argument to void[], skip past that - // or CTFE will fail! - assert(e->op == TOKcast); - CastExp* ce = (CastExp*)e; - e = ce->e1; -#endif e = e->interpret(istate); if (e != EXP_CANT_INTERPRET) {