Mercurial > projects > ldc
diff gen/irstate.cpp @ 148:86d3bb8ca33e trunk
[svn r154] renaming enclosingtry to enclosingtryfinally to distinguish it from enclosingtrycatch, which will probably need to be added for exception handling
author | ChristianK |
---|---|
date | Sat, 22 Mar 2008 12:20:32 +0100 |
parents | 8f704cb9969b |
children | 3a891cfcd249 |
line wrap: on
line diff
--- a/gen/irstate.cpp Thu Mar 13 18:37:52 2008 +0100 +++ b/gen/irstate.cpp Sat Mar 22 12:20:32 2008 +0100 @@ -35,13 +35,13 @@ { } -IRLoopScope::IRLoopScope(Statement* s, TryFinallyStatement* enclosingtry, llvm::BasicBlock* b, llvm::BasicBlock* e) +IRLoopScope::IRLoopScope(Statement* s, TryFinallyStatement* enclosingtryfinally, llvm::BasicBlock* b, llvm::BasicBlock* e) { begin = b; end = e; builder.SetInsertPoint(b); this->s = s; - this->enclosingtry = enclosingtry; + this->enclosingtryfinally = enclosingtryfinally; } //////////////////////////////////////////////////////////////////////////////////////////