changeset 1334:7c6dcb98ac35

Removed fix from rev [1331] since rev [1333] adds a more general fix that catches more cases!
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sun, 10 May 2009 15:50:51 +0200
parents 6bae1c30480f
children 2badba544b8b b6e819244062
files dmd/interpret.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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)
 		{