Removed unused member VarDeclaration::offset2.

This commit is contained in:
kai
2012-03-27 07:13:55 +02:00
parent 0a9ba4d283
commit e739102374
6 changed files with 0 additions and 10 deletions

View File

@@ -859,9 +859,6 @@ void AnonDeclaration::semantic(Scope *sc)
{
VarDeclaration *v = (VarDeclaration *)aad.fields.data[i];
#if IN_LLVM
v->offset2 = sc->offset;
#endif
v->offset += sc->offset;
#if IN_LLVM

View File

@@ -735,7 +735,6 @@ VarDeclaration::VarDeclaration(Loc loc, Type *type, Identifier *id, Initializer
// LDC
anonDecl = NULL;
offset2 = 0;
nakedUse = false;

View File

@@ -352,7 +352,6 @@ struct VarDeclaration : Declaration
// FIXME: we're not using these anymore!
AnonDeclaration* anonDecl;
unsigned offset2;
/// This var is used by a naked function.
bool nakedUse;

View File

@@ -881,9 +881,6 @@ void AnonDeclaration::semantic(Scope *sc)
{
VarDeclaration *v = aad.fields.tdata()[i];
#if IN_LLVM
v->offset2 = sc->offset;
#endif
v->offset += sc->offset;
#if IN_LLVM

View File

@@ -712,7 +712,6 @@ VarDeclaration::VarDeclaration(Loc loc, Type *type, Identifier *id, Initializer
// LDC
anonDecl = NULL;
offset2 = 0;
nakedUse = false;

View File

@@ -353,7 +353,6 @@ struct VarDeclaration : Declaration
// FIXME: we're not using these anymore!
AnonDeclaration* anonDecl;
unsigned offset2;
/// This var is used by a naked function.
bool nakedUse;