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

Method isJumpListWalkable

code.go:424–433  ·  view source on GitHub ↗
(list int)

Source from the content-addressed store, hash-verified

422}
423
424func (f *function) isJumpListWalkable(list int) bool {
425 if list == noJump {
426 return true
427 }
428 if list < 0 || list >= len(f.f.code) {
429 return false
430 }
431 offset := f.f.code[list].sbx()
432 return offset == noJump || f.isJumpListWalkable(list+1+offset)
433}
434
435func (f *function) jumpControl(pc int) *instruction {
436 if pc >= 1 && testTMode(f.f.code[pc-1].opCode()) {

Callers 10

JumpMethod · 0.95
fixJumpMethod · 0.95
jumpMethod · 0.95
needValueMethod · 0.95
removeValuesMethod · 0.95
patchListHelperMethod · 0.95
dischargeJumpPCMethod · 0.95
PatchCloseMethod · 0.95
PatchToHereMethod · 0.95
ConcatenateMethod · 0.95

Calls 1

sbxMethod · 0.80

Tested by

no test coverage detected