Mercurial > projects > ldc
comparison dmd/mangle.c @ 1587:def7a1d494fd
Merge DMD 1.051
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Fri, 06 Nov 2009 23:58:01 +0100 |
parents | 8026319762be |
children | 44b145be2ef5 |
comparison
equal
deleted
inserted
replaced
1586:7f728c52e63c | 1587:def7a1d494fd |
---|---|
71 if (fd && (fd->needThis() || fd->isNested())) | 71 if (fd && (fd->needThis() || fd->isNested())) |
72 buf.writeByte(Type::needThisPrefix()); | 72 buf.writeByte(Type::needThisPrefix()); |
73 if (sthis->type->deco) | 73 if (sthis->type->deco) |
74 buf.writestring(sthis->type->deco); | 74 buf.writestring(sthis->type->deco); |
75 else | 75 else |
76 { assert(fd->inferRetType); | 76 { |
77 #ifdef DEBUG | |
78 if (!fd->inferRetType) | |
79 printf("%s\n", fd->toChars()); | |
80 #endif | |
81 assert(fd && fd->inferRetType); | |
77 } | 82 } |
78 | 83 |
79 id = buf.toChars(); | 84 id = buf.toChars(); |
80 buf.data = NULL; | 85 buf.data = NULL; |
81 return id; | 86 return id; |