Mercurial > projects > ldc
diff dmd2/mtype.c @ 1028:964af20461a9
Merged ABI changes into D2 frontend.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 03 Mar 2009 14:10:37 +0100 |
parents | 799dbdf9c461 |
children | 4d366a75d95f |
line wrap: on
line diff
--- a/dmd2/mtype.c Tue Mar 03 09:51:15 2009 +0100 +++ b/dmd2/mtype.c Tue Mar 03 14:10:37 2009 +0100 @@ -3045,14 +3045,9 @@ this->isnothrow = false; this->ispure = false; this->isref = false; - this->retInPtr = false; - this->usesThis = false; - this->usesNest = false; - this->structInregArg = NULL; - this->retAttrs = 0; - this->thisAttrs = 0; - this->reverseParams = false; - this->firstRealArg = 0; + + // LDC + this->fty = NULL; } Type *TypeFunction::syntaxCopy() @@ -3064,13 +3059,6 @@ t->isnothrow = isnothrow; t->ispure = ispure; t->isref = isref; - t->retInPtr = retInPtr; - t->usesThis = usesThis; - t->usesNest = usesNest; - t->retAttrs = retAttrs; - t->thisAttrs = thisAttrs; - t->reverseParams = reverseParams; - t->firstRealArg = firstRealArg; return t; } @@ -6119,7 +6107,6 @@ this->ident = ident; this->storageClass = storageClass; this->defaultArg = defaultArg; - this->llvmAttrs = 0; } Argument *Argument::syntaxCopy() @@ -6128,7 +6115,6 @@ type ? type->syntaxCopy() : NULL, ident, defaultArg ? defaultArg->syntaxCopy() : NULL); - a->llvmAttrs = llvmAttrs; return a; }