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

Method encodeAsBx

code.go:335–335  ·  view source on GitHub ↗
(op opCode, a, sbx int)

Source from the content-addressed store, hash-verified

333}
334
335func (f *function) encodeAsBx(op opCode, a, sbx int) int { return f.encodeABx(op, a, sbx+maxArgSBx) }
336
337func (f *function) encodeExtraArg(a int) int {
338 f.assert(a <= maxArgAx)

Callers 3

JumpMethod · 0.95
OpenForBodyMethod · 0.95
CloseForBodyMethod · 0.95

Calls 1

encodeABxMethod · 0.95

Tested by

no test coverage detected