mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 12:53:14 +01:00
Remove unused StructLiteralExp::constType variable.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user