MCPcopy Index your code
hub / github.com/yuin/gopher-lua / SetOpCode

Method SetOpCode

compile.go:248–250  ·  view source on GitHub ↗
(pc int, v int)

Source from the content-addressed store, hash-verified

246}
247
248func (cd *codeStore) SetOpCode(pc int, v int) {
249 opSetOpCode(&cd.codes[pc], v)
250}
251
252func (cd *codeStore) SetA(pc int, v int) {
253 opSetArgA(&cd.codes[pc], v)

Callers 2

compileReturnStmtFunction · 0.80
patchCodeFunction · 0.80

Calls 1

opSetOpCodeFunction · 0.85

Tested by

no test coverage detected