diff ir/irfunction.h @ 145:8f704cb9969b trunk

[svn r150] fixes #16 and #17, implements GotoCaseStatement
author ChristianK
date Sat, 08 Mar 2008 15:22:07 +0100
parents 0e28624814e8
children e881c9b1c738
line wrap: on
line diff
--- a/ir/irfunction.h	Sat Jan 26 17:13:22 2008 +0100
+++ b/ir/irfunction.h	Sat Mar 08 15:22:07 2008 +0100
@@ -5,16 +5,6 @@
 
 #include <vector>
 
-// represents a finally block
-struct IrFinally
-{
-    llvm::BasicBlock* bb;
-    llvm::BasicBlock* retbb;
-
-    IrFinally();
-    IrFinally(llvm::BasicBlock* b, llvm::BasicBlock* rb);
-};
-
 // represents a function
 struct IrFunction : IrBase
 {
@@ -23,11 +13,6 @@
     FuncDeclaration* decl;
     TypeFunction* type;
 
-    // finally blocks
-    typedef std::vector<IrFinally> FinallyVec;
-    FinallyVec finallys;
-    llvm::Value* finallyretval;
-
     bool queued;
     bool defined;
     llvm::Value* retArg;