comparison 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
comparison
equal deleted inserted replaced
762:d7aae6f09754 763:9a9f403ab399
2757 } 2757 }
2758 2758
2759 ec = new VarExp(0, aaRehash_fd); 2759 ec = new VarExp(0, aaRehash_fd);
2760 arguments = new Expressions(); 2760 arguments = new Expressions();
2761 arguments->push(e->addressOf(sc)); 2761 arguments->push(e->addressOf(sc));
2762 arguments->push(index->getTypeInfo(sc)); // LDC, we don't support the getInternalTypeInfo 2762 arguments->push(index->getInternalTypeInfo(sc));
2763 // optimization arbitrarily, not yet at least...
2764 e = new CallExp(e->loc, ec, arguments); 2763 e = new CallExp(e->loc, ec, arguments);
2765 e->type = this; 2764 e->type = this;
2766 } 2765 }
2767 else 2766 else
2768 { 2767 {