[cleanup] Remove unused IrTypeAggr::default_fields and accessors.

This commit is contained in:
David Nadlinger 2014-10-11 01:43:07 +02:00
parent e7838a30a6
commit de742a06e2
3 changed files with 0 additions and 26 deletions

View file

@ -65,7 +65,6 @@ void IrTypeClass::addBaseClassData(
// mirror the sd->fields array but only fill in contributors
const size_t n = base->fields.dim;
LLSmallVector<VarDeclaration*, 16> data(n, NULL);
default_fields.reserve(n);
// first fill in the fields with explicit initializers
for (size_t index = 0; index < n; ++index)
@ -158,10 +157,6 @@ void IrTypeClass::addBaseClassData(
assert(vd->offset >= offset && "it's a bug... most likely DMD bug 2481");
// add to default field list
if (cd == base)
default_fields.push_back(vd);
// get next aligned offset for this type
size_t alignedoffset = realignOffset(offset, vd->type);