| 47 | } |
| 48 | |
| 49 | public static TForBlock make51(LFunction function, int begin, int end, int register, int length, boolean forvarClose, boolean innerClose) { |
| 50 | int explicitScopeEnd = end - 3; |
| 51 | int innerScopeEnd = end - 3; |
| 52 | if(forvarClose) { |
| 53 | explicitScopeEnd--; |
| 54 | innerScopeEnd--; |
| 55 | } |
| 56 | if(innerClose) { |
| 57 | innerScopeEnd--; |
| 58 | } |
| 59 | return new TForBlock( |
| 60 | function, begin, end, |
| 61 | register, register + 2, register + 3, register + 2 + length, |
| 62 | begin - 2, end - 1, |
| 63 | begin - 1, explicitScopeEnd, |
| 64 | innerScopeEnd |
| 65 | ); |
| 66 | } |
| 67 | |
| 68 | public static TForBlock make54(LFunction function, int begin, int end, int register, int length, boolean forvarClose) { |
| 69 | int innerScopeEnd = end - 3; |