changeset 858:ebbbf8c3ce93

Remove some dead code.
author Christian Kamm <kamm incasoftware de>
date Wed, 17 Dec 2008 21:03:06 +0100
parents 217e8c719a2f
children a719f2ca3e92
files gen/toir.cpp
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);