MCPcopy Index your code
hub / github.com/Shopify/go-lua / dischargeJumpPC

Method dischargeJumpPC

code.go:483–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481}
482
483func (f *function) dischargeJumpPC() {
484 f.assert(f.isJumpListWalkable(f.jumpPC))
485 f.patchListHelper(f.jumpPC, len(f.f.code), noRegister, len(f.f.code))
486 f.jumpPC = noJump
487}
488
489func (f *function) PatchList(list, target int) {
490 if target == len(f.f.code) {

Callers 1

encodeMethod · 0.95

Calls 3

assertMethod · 0.95
isJumpListWalkableMethod · 0.95
patchListHelperMethod · 0.95

Tested by

no test coverage detected