(i instruction)
| 304 | } |
| 305 | |
| 306 | func (f *function) encode(i instruction) int { |
| 307 | f.assert(len(f.f.code) == len(f.f.lineInfo)) |
| 308 | f.dischargeJumpPC() |
| 309 | f.f.code = append(f.f.code, i) |
| 310 | f.f.lineInfo = append(f.f.lineInfo, int32(f.p.lastLine)) |
| 311 | return len(f.f.code) - 1 |
| 312 | } |
| 313 | |
| 314 | func (f *function) dropLastInstruction() { |
| 315 | f.assert(len(f.f.code) == len(f.f.lineInfo)) |
no test coverage detected