Remove unused StructLiteralExp::constType variable.

This commit is contained in:
David Nadlinger
2013-06-15 13:11:36 +02:00
parent bca5dac669
commit 7874c95cdc
2 changed files with 0 additions and 2 deletions

View File

@@ -4368,7 +4368,6 @@ StructLiteralExp::StructLiteralExp(Loc loc, StructDeclaration *sd, Expressions *
this->ownedByCtfe = false;
this->ctorinit = 0;
#if IN_LLVM
constType = NULL;
this->inProgressMemory = NULL;
this->globalVar = NULL;
#endif

View File

@@ -635,7 +635,6 @@ struct StructLiteralExp : Expression
llvm::Value* inProgressMemory;
llvm::Constant *toConstElem(IRState *irs);
llvm::StructType *constType;
// A global variable for taking the address of this struct literal constant,
// if it already exists. Used to resolve self-references.
llvm::GlobalVariable *globalVar;