# HG changeset patch # User Christian Kamm # Date 1229544186 -3600 # Node ID ebbbf8c3ce937c2afb1423e0ae4c3ec70bca064c # Parent 217e8c719a2fc30f42bd2416765ba7aeaeb45b06 Remove some dead code. diff -r 217e8c719a2f -r ebbbf8c3ce93 gen/toir.cpp --- a/gen/toir.cpp Wed Dec 17 20:40:27 2008 +0100 +++ b/gen/toir.cpp Wed Dec 17 21:03:06 2008 +0100 @@ -1780,7 +1780,6 @@ // 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 @@ // 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 @@ 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);