Mercurial > projects > ldc
comparison gen/irstate.h @ 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 | 7f92f477ff53 |
comparison
equal
deleted
inserted
replaced
147:0636f6269dfd | 148:86d3bb8ca33e |
---|---|
40 struct IRLoopScope : IRScope | 40 struct IRLoopScope : IRScope |
41 { | 41 { |
42 // generating statement | 42 // generating statement |
43 Statement* s; | 43 Statement* s; |
44 // the try of a TryFinally that encloses the loop | 44 // the try of a TryFinally that encloses the loop |
45 TryFinallyStatement* enclosingtry; | 45 TryFinallyStatement* enclosingtryfinally; |
46 | 46 |
47 IRLoopScope(); | 47 IRLoopScope(); |
48 IRLoopScope(Statement* s, TryFinallyStatement* enclosingtry, llvm::BasicBlock* b, llvm::BasicBlock* e); | 48 IRLoopScope(Statement* s, TryFinallyStatement* enclosingtryfinally, llvm::BasicBlock* b, llvm::BasicBlock* e); |
49 }; | 49 }; |
50 | 50 |
51 struct IRBuilderHelper | 51 struct IRBuilderHelper |
52 { | 52 { |
53 IRState* state; | 53 IRState* state; |