diff dmd2/mtype.c @ 763:9a9f403ab399

D2 changes! Removed druntime from the repository again.. Sorry :/ Updated the druntime port a bit, now requires druntime from trunk. Added info in runtime/README on how to get druntime from trunk. Added patch to add LDC support to druntime. Removed some debug logging from D2 builds. Fixed broken typeinfo for const/invariant in D2.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 12 Nov 2008 07:22:05 +0100
parents f04dde6e882c
children bfabbac8e705
line wrap: on
line diff
--- a/dmd2/mtype.c	Tue Nov 11 22:57:19 2008 +0100
+++ b/dmd2/mtype.c	Wed Nov 12 07:22:05 2008 +0100
@@ -2759,8 +2759,7 @@
 	ec = new VarExp(0, aaRehash_fd);
 	arguments = new Expressions();
 	arguments->push(e->addressOf(sc));
-    arguments->push(index->getTypeInfo(sc));   // LDC, we don't support the getInternalTypeInfo
-                                               // optimization arbitrarily, not yet at least...   
+    arguments->push(index->getInternalTypeInfo(sc));
 	e = new CallExp(e->loc, ec, arguments);
 	e->type = this;
     }