mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-23 07:03:13 +01:00
Removed unused member VarDeclaration::offset2.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -735,7 +735,6 @@ VarDeclaration::VarDeclaration(Loc loc, Type *type, Identifier *id, Initializer
|
||||
|
||||
// LDC
|
||||
anonDecl = NULL;
|
||||
offset2 = 0;
|
||||
|
||||
nakedUse = false;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -712,7 +712,6 @@ VarDeclaration::VarDeclaration(Loc loc, Type *type, Identifier *id, Initializer
|
||||
|
||||
// LDC
|
||||
anonDecl = NULL;
|
||||
offset2 = 0;
|
||||
|
||||
nakedUse = false;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user