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

Method removeValues

code.go:463–468  ·  view source on GitHub ↗
(list int)

Source from the content-addressed store, hash-verified

461}
462
463func (f *function) removeValues(list int) {
464 f.assert(f.isJumpListWalkable(list))
465 for ; list != noJump; list = f.jump(list) {
466 _ = f.patchTestRegister(list, noRegister)
467 }
468}
469
470func (f *function) patchListHelper(list, target, register, defaultTarget int) {
471 f.assert(f.isJumpListWalkable(list))

Callers 1

encodeNotMethod · 0.95

Calls 4

assertMethod · 0.95
isJumpListWalkableMethod · 0.95
jumpMethod · 0.95
patchTestRegisterMethod · 0.95

Tested by

no test coverage detected