From 7874c95cdc338074d796d4bbdb0b3e57e9e4d778 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sat, 15 Jun 2013 13:11:36 +0200 Subject: [PATCH] Remove unused StructLiteralExp::constType variable. --- dmd2/expression.c | 1 - dmd2/expression.h | 1 - 2 files changed, 2 deletions(-) diff --git a/dmd2/expression.c b/dmd2/expression.c index 00cef6e4..fa4ea1a0 100644 --- a/dmd2/expression.c +++ b/dmd2/expression.c @@ -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 diff --git a/dmd2/expression.h b/dmd2/expression.h index 9272ddee..47794e61 100644 --- a/dmd2/expression.h +++ b/dmd2/expression.h @@ -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;