Mercurial > projects > ldc
diff gen/irstate.cpp @ 1142:49421d3ac5a7
Automated merge with http://hg.dsource.org/projects/ldc
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 24 Mar 2009 21:18:29 +0100 |
parents | f99a3b393c03 |
children | ad7f2f1862d6 |
line wrap: on
line diff
--- a/gen/irstate.cpp Tue Mar 24 18:22:47 2009 +0100 +++ b/gen/irstate.cpp Tue Mar 24 21:18:29 2009 +0100 @@ -34,18 +34,16 @@ } ////////////////////////////////////////////////////////////////////////////////////////// -IRLoopScope::IRLoopScope() +IRTargetScope::IRTargetScope() { } -IRLoopScope::IRLoopScope(Statement* s, EnclosingHandler* enclosinghandler, llvm::BasicBlock* b, llvm::BasicBlock* e, bool isSwitch) +IRTargetScope::IRTargetScope(Statement* s, EnclosingHandler* enclosinghandler, llvm::BasicBlock* continueTarget, llvm::BasicBlock* breakTarget) { - begin = b; - end = e; - //builder.SetInsertPoint(b); this->s = s; this->enclosinghandler = enclosinghandler; - this->isSwitch = isSwitch; + this->breakTarget = breakTarget; + this->continueTarget = continueTarget; } //////////////////////////////////////////////////////////////////////////////////////////