Merged ABI changes into D2 frontend.

This commit is contained in:
Tomas Lindquist Olsen
2009-03-03 14:10:37 +01:00
parent 84963b9a03
commit 8cad8d6c7a
2 changed files with 5 additions and 31 deletions

View File

@@ -3045,14 +3045,9 @@ TypeFunction::TypeFunction(Arguments *parameters, Type *treturn, int varargs, en
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 @@ Type *TypeFunction::syntaxCopy()
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 @@ Argument::Argument(unsigned storageClass, Type *type, Identifier *ident, Express
this->ident = ident;
this->storageClass = storageClass;
this->defaultArg = defaultArg;
this->llvmAttrs = 0;
}
Argument *Argument::syntaxCopy()
@@ -6128,7 +6115,6 @@ Argument *Argument::syntaxCopy()
type ? type->syntaxCopy() : NULL,
ident,
defaultArg ? defaultArg->syntaxCopy() : NULL);
a->llvmAttrs = llvmAttrs;
return a;
}