(b block)
| 219 | } |
| 220 | |
| 221 | func (f *function) moveGotosOut(b block) { |
| 222 | for i := b.firstGoto; i < len(f.p.pendingGotos); i += f.findLabel(i) { |
| 223 | if f.p.pendingGotos[i].activeVariableCount > b.activeVariableCount { |
| 224 | if b.hasUpValue { |
| 225 | f.PatchClose(f.p.pendingGotos[i].pc, b.activeVariableCount) |
| 226 | } |
| 227 | f.p.pendingGotos[i].activeVariableCount = b.activeVariableCount |
| 228 | } |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | func (f *function) LeaveBlock() { |
| 233 | b := f.block |
no test coverage detected