stufstuff

This commit is contained in:
Florian Sattler
2013-06-01 18:13:17 +02:00
parent 189532fa29
commit 26b35572e9

View File

@@ -185,6 +185,7 @@ void CodeGenVisitor::visit(RandomIfStatement* e) {
value_ = 0;
e->getProb()->accept(this);
llvm::Function* f = builder_->GetInsertBlock()->getParent();
llvm::BasicBlock* thenBB = llvm::BasicBlock::Create(llvm::getGlobalContext(), "then", f);
llvm::BasicBlock* elseBB = llvm::BasicBlock::Create(llvm::getGlobalContext(), "else");