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

Method jump

code.go:416–422  ·  view source on GitHub ↗
(pc int)

Source from the content-addressed store, hash-verified

414}
415
416func (f *function) jump(pc int) int {
417 f.assert(f.isJumpListWalkable(pc))
418 if offset := f.f.code[pc].sbx(); offset != noJump {
419 return pc + 1 + offset
420 }
421 return noJump
422}
423
424func (f *function) isJumpListWalkable(list int) bool {
425 if list == noJump {

Callers 7

needValueMethod · 0.95
removeValuesMethod · 0.95
patchListHelperMethod · 0.95
PatchCloseMethod · 0.95
ConcatenateMethod · 0.95
initFunction · 0.45
executeSwitchMethod · 0.45

Calls 3

assertMethod · 0.95
isJumpListWalkableMethod · 0.95
sbxMethod · 0.80

Tested by

no test coverage detected