[dmd-internals] AAs in the dmd backend

Robert Clipsham robert at octarineparrot.com
Thu Apr 1 05:29:14 PDT 2010


On 01/04/10 11:59, Robert Clipsham wrote:
> On 01/04/10 05:11, Walter Bright wrote:
>> There is an AA implementation in backend/aa.c that should do the job.
>
> This needs me to implement a hashing function... What would be the best
> way to hash a TYPE (backend/type.h)? Will using TypeInfo_Atype work well
> enough, setting atype.start = t; atype.end = t + sizeof(TYPE);?

Sorted now, I've attached a working patch to bug #3987.



More information about the dmd-internals mailing list