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

Method JumpTo

code.go:376–376  ·  view source on GitHub ↗
(target int)

Source from the content-addressed store, hash-verified

374}
375
376func (f *function) JumpTo(target int) { f.PatchList(f.Jump(), target) }
377func (f *function) ReturnNone() { f.EncodeABC(opReturn, 0, 1, 0) }
378func (f *function) SetMultipleReturns(e exprDesc) { f.setReturns(e, MultipleReturns) }
379

Callers 1

whileStatementMethod · 0.80

Calls 2

PatchListMethod · 0.95
JumpMethod · 0.95

Tested by

no test coverage detected