[svn r150] fixes #16 and #17, implements GotoCaseStatement

This commit is contained in:
Christian Kamm
2008-03-08 15:22:07 +01:00
parent 64537a9478
commit b0a44173dc
9 changed files with 229 additions and 111 deletions

View File

@@ -30,6 +30,20 @@ IRScope::IRScope(llvm::BasicBlock* b, llvm::BasicBlock* e)
builder.SetInsertPoint(b);
}
//////////////////////////////////////////////////////////////////////////////////////////
IRLoopScope::IRLoopScope()
{
}
IRLoopScope::IRLoopScope(Statement* s, TryFinallyStatement* enclosingtry, llvm::BasicBlock* b, llvm::BasicBlock* e)
{
begin = b;
end = e;
builder.SetInsertPoint(b);
this->s = s;
this->enclosingtry = enclosingtry;
}
//////////////////////////////////////////////////////////////////////////////////////////
IRState::IRState()
{