| 237 | 237 | tm->getTypeInfo(NULL); |
|---|
| 238 | 238 | dtxoff(pdt, tm->vtinfo->toSymbol(), 0, TYnptr); |
|---|
| 239 | 239 | } |
|---|
| 240 | 240 | |
|---|
| 241 | 241 | void TypeInfoInvariantDeclaration::toDt(dt_t **pdt) |
|---|
| 242 | 242 | { |
|---|
| 243 | 243 | //printf("TypeInfoInvariantDeclaration::toDt() %s\n", toChars()); |
|---|
| 244 | 244 | dtxoff(pdt, Type::typeinfoinvariant->toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfo_Invariant |
|---|
| 245 | 245 | dtdword(pdt, 0); // monitor |
|---|
| 246 | 246 | Type *tm = tinfo->mutableOf(); |
|---|
| 247 | 247 | tm = tm->merge(); |
|---|
| 248 | 248 | tm->getTypeInfo(NULL); |
|---|
| 249 | 249 | dtxoff(pdt, tm->vtinfo->toSymbol(), 0, TYnptr); |
|---|
| 250 | 250 | } |
|---|
| 251 | 251 | |
|---|
| 252 | 252 | void TypeInfoSharedDeclaration::toDt(dt_t **pdt) |
|---|
| 253 | 253 | { |
|---|
| 254 | 254 | //printf("TypeInfoSharedDeclaration::toDt() %s\n", toChars()); |
|---|
| 255 | 255 | dtxoff(pdt, Type::typeinfoshared->toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfo_Shared |
|---|
| 256 | 256 | dtdword(pdt, 0); // monitor |
|---|
| 262 | 258 | tm = tm->merge(); |
|---|
| 263 | 259 | tm->getTypeInfo(NULL); |
|---|
| 264 | 260 | dtxoff(pdt, tm->vtinfo->toSymbol(), 0, TYnptr); |
|---|
| 265 | 261 | } |
|---|
| 266 | 262 | #endif |
|---|
| 267 | 263 | |
|---|
| 268 | 264 | void TypeInfoTypedefDeclaration::toDt(dt_t **pdt) |
|---|
| 269 | 265 | { |
|---|
| 270 | 266 | //printf("TypeInfoTypedefDeclaration::toDt() %s\n", toChars()); |
|---|
| 271 | 267 | |
|---|
| 272 | 268 | dtxoff(pdt, Type::typeinfotypedef->toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfo_Typedef |
|---|
| 273 | 269 | dtdword(pdt, 0); // monitor |
|---|
| 274 | 270 | |
|---|
| 275 | 271 | assert(tinfo->ty == Ttypedef); |
|---|
| 276 | 272 | |
|---|
| 277 | 273 | TypeTypedef *tc = (TypeTypedef *)tinfo; |
|---|
| 278 | 274 | TypedefDeclaration *sd = tc->sym; |
|---|
| 279 | 275 | //printf("basetype = %s\n", sd->basetype->toChars()); |
|---|
| 280 | 276 | |
|---|
| 281 | 277 | /* Put out: |
|---|