Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
147:0636f6269dfd | 148:86d3bb8ca33e |
---|---|
33 ////////////////////////////////////////////////////////////////////////////////////////// | 33 ////////////////////////////////////////////////////////////////////////////////////////// |
34 IRLoopScope::IRLoopScope() | 34 IRLoopScope::IRLoopScope() |
35 { | 35 { |
36 } | 36 } |
37 | 37 |
38 IRLoopScope::IRLoopScope(Statement* s, TryFinallyStatement* enclosingtry, llvm::BasicBlock* b, llvm::BasicBlock* e) | 38 IRLoopScope::IRLoopScope(Statement* s, TryFinallyStatement* enclosingtryfinally, llvm::BasicBlock* b, llvm::BasicBlock* e) |
39 { | 39 { |
40 begin = b; | 40 begin = b; |
41 end = e; | 41 end = e; |
42 builder.SetInsertPoint(b); | 42 builder.SetInsertPoint(b); |
43 this->s = s; | 43 this->s = s; |
44 this->enclosingtry = enclosingtry; | 44 this->enclosingtryfinally = enclosingtryfinally; |
45 } | 45 } |
46 | 46 |
47 ////////////////////////////////////////////////////////////////////////////////////////// | 47 ////////////////////////////////////////////////////////////////////////////////////////// |
48 IRState::IRState() | 48 IRState::IRState() |
49 { | 49 { |