(prep, base, line, n int, isNumeric bool)
| 1127 | } |
| 1128 | |
| 1129 | func (f *function) CloseForBody(prep, base, line, n int, isNumeric bool) { |
| 1130 | f.LeaveBlock() |
| 1131 | f.PatchToHere(prep) |
| 1132 | var end int |
| 1133 | if isNumeric { |
| 1134 | end = f.encodeAsBx(opForLoop, base, noJump) |
| 1135 | } else { |
| 1136 | f.EncodeABC(opTForCall, base, 0, n) |
| 1137 | f.FixLine(line) |
| 1138 | end = f.encodeAsBx(opTForLoop, base+2, noJump) |
| 1139 | } |
| 1140 | f.PatchList(end, prep+1) |
| 1141 | f.FixLine(line) |
| 1142 | } |
| 1143 | |
| 1144 | func (f *function) OpenMainFunction() { |
| 1145 | f.EnterBlock(false) |
no test coverage detected