Mercurial > projects > ldc
comparison dmd/mtype.c @ 1051:dc608dc33081
Make IrFuncTy a member of TypeFunction. Reset between modules compiled in the
same LDC call.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Mar 2009 14:25:30 +0100 |
parents | 4d366a75d95f |
children | b30fe7e1dbb9 |
comparison
equal
deleted
inserted
replaced
1050:32ead42679d1 | 1051:dc608dc33081 |
---|---|
2657 // assert(treturn); | 2657 // assert(treturn); |
2658 this->parameters = parameters; | 2658 this->parameters = parameters; |
2659 this->varargs = varargs; | 2659 this->varargs = varargs; |
2660 this->linkage = linkage; | 2660 this->linkage = linkage; |
2661 this->inuse = 0; | 2661 this->inuse = 0; |
2662 | |
2663 // LDC | |
2664 this->fty = NULL; | |
2665 } | 2662 } |
2666 | 2663 |
2667 Type *TypeFunction::syntaxCopy() | 2664 Type *TypeFunction::syntaxCopy() |
2668 { | 2665 { |
2669 Type *treturn = next ? next->syntaxCopy() : NULL; | 2666 Type *treturn = next ? next->syntaxCopy() : NULL; |