(target *gotoLabelDesc)
| 494 | } |
| 495 | |
| 496 | func (fc *funcContext) ResolveForwardGoto(target *gotoLabelDesc) { |
| 497 | for i := fc.Block.firstGotoIndex; i <= fc.gotosCount; i++ { |
| 498 | gotoLabel, ok := fc.unresolvedGotos[i] |
| 499 | if !ok { |
| 500 | continue |
| 501 | } |
| 502 | if gotoLabel.Name == target.Name { |
| 503 | fc.ResolveGoto(gotoLabel, target, i) |
| 504 | } |
| 505 | } |
| 506 | } |
| 507 | |
| 508 | func (fc *funcContext) NewLabel() int { |
| 509 | ret := fc.labelId |
no test coverage detected