MCPcopy Create free account
hub / github.com/Shopify/go-lua / jump

Method jump

stack.go:148–148  ·  view source on GitHub ↗
(offset int)

Source from the content-addressed store, hash-verified

146func (ci *callInfo) base() int { return ci.top - len(ci.frame) }
147func (ci *callInfo) skip() { ci.savedPC++ }
148func (ci *callInfo) jump(offset int) { ci.savedPC += pc(offset) }
149
150func (ci *callInfo) setTop(top int) {
151 if ci.luaCallInfo != nil {

Callers

nothing calls this directly

Calls 1

pcTypeAlias · 0.85

Tested by

no test coverage detected