[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

@@ -1,18 +1,6 @@
#include "gen/tollvm.h"
#include "ir/irfunction.h"
IrFinally::IrFinally()
{
bb = 0;
retbb = 0;
}
IrFinally::IrFinally(llvm::BasicBlock* b, llvm::BasicBlock* rb)
{
bb = b;
retbb = rb;
}
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
@@ -26,7 +14,6 @@ IrFunction::IrFunction(FuncDeclaration* fd)
type = (TypeFunction*)t;
func = NULL;
allocapoint = NULL;
finallyretval = NULL;
queued = false;
defined = false;