diff gen/irstate.cpp @ 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 86d3bb8ca33e
line wrap: on
line diff
--- a/gen/irstate.cpp	Sat Jan 26 17:13:22 2008 +0100
+++ b/gen/irstate.cpp	Sat Mar 08 15:22:07 2008 +0100
@@ -31,6 +31,20 @@
 }
 
 //////////////////////////////////////////////////////////////////////////////////////////
+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()
 {
     dmodule = 0;