[svn r332] Fix codegen for continue within switch.

This commit is contained in:
Christian Kamm
2008-06-28 18:37:27 +02:00
parent ad65788592
commit 7dd287be94
3 changed files with 16 additions and 5 deletions

View File

@@ -36,13 +36,14 @@ IRLoopScope::IRLoopScope()
{
}
IRLoopScope::IRLoopScope(Statement* s, EnclosingHandler* enclosinghandler, llvm::BasicBlock* b, llvm::BasicBlock* e)
IRLoopScope::IRLoopScope(Statement* s, EnclosingHandler* enclosinghandler, llvm::BasicBlock* b, llvm::BasicBlock* e, bool isSwitch)
{
begin = b;
end = e;
//builder.SetInsertPoint(b);
this->s = s;
this->enclosinghandler = enclosinghandler;
this->isSwitch = isSwitch;
}
//////////////////////////////////////////////////////////////////////////////////////////