From 0e1b27db3c5a1301634140410d1316acb7b4c5d0 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 17 Dec 2008 21:03:06 +0100 Subject: [PATCH] Remove some dead code. --- gen/toir.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/gen/toir.cpp b/gen/toir.cpp index 436c3842..8d5cd03c 100644 --- a/gen/toir.cpp +++ b/gen/toir.cpp @@ -1780,7 +1780,6 @@ DValue* AndAndExp::toElem(IRState* p) // allocate a temporary for the final result. failed to come up with a better way :/ LLValue* resval = 0; - llvm::BasicBlock* entryblock = &p->topfunc()->front(); resval = DtoAlloca(LLType::Int1Ty,"andandtmp"); DValue* u = e1->toElem(p); @@ -1816,7 +1815,6 @@ DValue* OrOrExp::toElem(IRState* p) // allocate a temporary for the final result. failed to come up with a better way :/ LLValue* resval = 0; - llvm::BasicBlock* entryblock = &p->topfunc()->front(); resval = DtoAlloca(LLType::Int1Ty,"orortmp"); DValue* u = e1->toElem(p); @@ -2077,7 +2075,6 @@ DValue* CondExp::toElem(IRState* p) const LLType* resty = DtoType(dtype); // allocate a temporary for the final result. failed to come up with a better way :/ - llvm::BasicBlock* entryblock = &p->topfunc()->front(); LLValue* resval = DtoAlloca(resty,"condtmp"); DVarValue* dvv = new DVarValue(type, resval);