(isLoop bool)
| 127 | } |
| 128 | |
| 129 | func (f *function) EnterBlock(isLoop bool) { |
| 130 | // TODO www.lua.org uses a trick here to stack allocate the block, and chain blocks in the stack |
| 131 | f.block = &block{previous: f.block, firstLabel: len(f.p.activeLabels), firstGoto: len(f.p.pendingGotos), activeVariableCount: f.activeVariableCount, isLoop: isLoop} |
| 132 | f.assert(f.freeRegisterCount == f.activeVariableCount) |
| 133 | } |
| 134 | |
| 135 | func (f *function) undefinedGotoError(g label) { |
| 136 | if isReserved(g.name) { |
no test coverage detected